Пример #1
0
        /// <summary>
        /// Initializes a new instance of the CrumbBar class.
        /// </summary>
        public CrumbBar()
            : base()
        {
            _Items = new CrumbBarItemsCollection(this);

            _ViewContainer = new CrumbBarViewContainer();
            _ViewContainer.GlobalItem = false;
            _ViewContainer.ContainerControl = this;
            _ViewContainer.Displayed = true;
            _ViewContainer.Style = eDotNetBarStyle.StyleManagerControlled;
            this.ColorScheme.Style = eDotNetBarStyle.StyleManagerControlled;
            _ViewContainer.SetOwner(this);
            InitializeVistaRenderer();
            this.SetBaseItemContainer(_ViewContainer);
        }
Пример #2
0
 /// <summary>
 /// Returns copy of ExplorerBarContainerItem item
 /// </summary>
 public override BaseItem Copy()
 {
     CrumbBarViewContainer objCopy = new CrumbBarViewContainer();
     this.CopyToItem(objCopy);
     return objCopy;
 }