ComponentFactory.Krypton.Ribbon.VisualPopupAppMenu.CreateContextMenuView C# (CSharp) 메소드

CreateContextMenuView() 개인적인 메소드

private CreateContextMenuView ( RibbonAppButton appButton ) : void
appButton RibbonAppButton
리턴 void
        private void CreateContextMenuView(RibbonAppButton appButton)
        {
            // Ask the top level collection to generate the child view elements
            KryptonContextMenuCollection topCollection = new KryptonContextMenuCollection();
            KryptonContextMenuItems topItems = new KryptonContextMenuItems();
            topItems.ImageColumn = false;
            topCollection.Add(topItems);
            foreach (KryptonContextMenuItemBase item in appButton.AppButtonMenuItems)
                topItems.Items.Add(item);
            topCollection.GenerateView(_provider, this, _viewColumns, true, true);
        }