ComponentFactory.Krypton.Toolkit.VisualContextMenuDTP.VisualContextMenuDTP C# (CSharp) Method

VisualContextMenuDTP() public method

Initialize a new instance of the VisualContextMenuDTP class.
public VisualContextMenuDTP ( KryptonContextMenu contextMenu, IPalette palette, PaletteMode paletteMode, PaletteRedirect redirector, PaletteRedirectContextMenu redirectorImages, KryptonContextMenuCollection items, bool enabled, bool keyboardActivated, Rectangle dropScreenRect ) : System
contextMenu KryptonContextMenu Originating context menu instance.
palette IPalette Local palette setting to use initially.
paletteMode PaletteMode Palette mode setting to use initially.
redirector PaletteRedirect Redirector used for obtaining palette values.
redirectorImages PaletteRedirectContextMenu Redirector used for obtaining images.
items KryptonContextMenuCollection Collection of context menu items to be displayed.
enabled bool Enabled state of the context menu.
keyboardActivated bool Was the context menu activate by a keyboard action.
dropScreenRect System.Drawing.Rectangle Screen rectangle of the drop down button.
return System
        public VisualContextMenuDTP(KryptonContextMenu contextMenu,
                                    IPalette palette,
                                    PaletteMode paletteMode,
                                    PaletteRedirect redirector,
                                    PaletteRedirectContextMenu redirectorImages,
                                    KryptonContextMenuCollection items,
                                    bool enabled,
                                    bool keyboardActivated,
                                    Rectangle dropScreenRect)
            : base(contextMenu, palette, paletteMode, redirector, redirectorImages, 
                   items, enabled, keyboardActivated)
        {
            _dropScreenRect = dropScreenRect;
        }