Ejemplo n.º 1
0
        /// <summary>
        /// Gets the navigation nodes to be displayed on the left side of the ItemPicker.
        /// </summary>
        /// <param name="context">Describes the situation in which the ItemPicker is being
        /// displayed to the user.</param>
        /// <returns></returns>
        public Collection <Node> GetNavigationNodes(ItemPickerContext context)
        {
            var results = new Collection <Node>();

            // Only include the Checkouts node in the navigation.
            // Alternatively, we could search for certain items to include in the navigation,
            // and only include those.
            var checkoutsNode = new CheckoutsFolderNode(null);

            results.Add(checkoutsNode);

            return(results);
        }
        /// <summary>
        /// Gets the navigation nodes to be displayed on the left side of the ItemPicker.
        /// </summary>
        /// <param name="context">Describes the situation in which the ItemPicker is being 
        /// displayed to the user.</param>
        /// <returns></returns>
        public Collection<Node> GetNavigationNodes(ItemPickerContext context)
        {
            var results =  new Collection<Node>();

            // Only include the Checkouts node in the navigation.
            // Alternatively, we could search for certain items to include in the navigation,
            // and only include those.
            var checkoutsNode = new CheckoutsFolderNode(null);
            results.Add(checkoutsNode);

            return results;
        }