menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomizationPanel - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CustomizationPanel

    Specifies the UserControl that will be used in the XP Menus Customization dialog to allow the end user to customize the application's menu structure.

    Inheritance
    System.Object
    CustomizationPanel
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CustomizationPanel : UserControl
    Remarks

    Derive from this UserControl and customize by adding more controls, if necessary, during design-time. Then use the CustomizationPanel property to let the framework use your custom control.

    Constructors

    CustomizationPanel()

    Creates a new instance of the CustomizationPanel class.

    Declaration
    public CustomizationPanel()

    Fields

    alwaysFullMenus

    Declaration
    protected CheckBox alwaysFullMenus
    Field Value
    Type
    System.Windows.Forms.CheckBox

    catMoveDown

    Declaration
    protected Button catMoveDown
    Field Value
    Type
    System.Windows.Forms.Button

    catMoveUp

    Declaration
    protected Button catMoveUp
    Field Value
    Type
    System.Windows.Forms.Button

    catView

    Declaration
    protected TreeView catView
    Field Value
    Type
    System.Windows.Forms.TreeView

    catViewTooltip

    Declaration
    protected ToolTip catViewTooltip
    Field Value
    Type
    System.Windows.Forms.ToolTip

    closeButton

    Declaration
    protected Button closeButton
    Field Value
    Type
    System.Windows.Forms.Button

    cmdModify

    Declaration
    protected Button cmdModify
    Field Value
    Type
    System.Windows.Forms.Button

    deleteButton

    Declaration
    protected Button deleteButton
    Field Value
    Type
    System.Windows.Forms.Button

    expandAfterDelay

    Declaration
    protected CheckBox expandAfterDelay
    Field Value
    Type
    System.Windows.Forms.CheckBox

    gridHostPanel

    Declaration
    protected Panel gridHostPanel
    Field Value
    Type
    System.Windows.Forms.Panel

    hScrollBar1

    Declaration
    protected HScrollBar hScrollBar1
    Field Value
    Type
    System.Windows.Forms.HScrollBar

    label1

    Declaration
    protected Label label1
    Field Value
    Type
    System.Windows.Forms.Label

    label2

    Declaration
    protected Label label2
    Field Value
    Type
    System.Windows.Forms.Label

    label3

    Declaration
    protected Label label3
    Field Value
    Type
    System.Windows.Forms.Label

    label4

    Declaration
    protected Label label4
    Field Value
    Type
    System.Windows.Forms.Label

    label5

    Declaration
    protected Label label5
    Field Value
    Type
    System.Windows.Forms.Label

    label6

    Declaration
    protected Label label6
    Field Value
    Type
    System.Windows.Forms.Label

    label7

    Declaration
    protected Label label7
    Field Value
    Type
    System.Windows.Forms.Label

    largeIcons

    Declaration
    protected CheckBox largeIcons
    Field Value
    Type
    System.Windows.Forms.CheckBox

    newButton

    Declaration
    protected Button newButton
    Field Value
    Type
    System.Windows.Forms.Button

    panel1

    Declaration
    protected Panel panel1
    Field Value
    Type
    System.Windows.Forms.Panel

    resetButton

    Declaration
    protected Button resetButton
    Field Value
    Type
    System.Windows.Forms.Button

    resetCustomizationButton

    Declaration
    protected Button resetCustomizationButton
    Field Value
    Type
    System.Windows.Forms.Button

    resetPartialMenusBtn

    Declaration
    protected Button resetPartialMenusBtn
    Field Value
    Type
    System.Windows.Forms.Button

    splitter1

    Declaration
    protected Splitter splitter1
    Field Value
    Type
    System.Windows.Forms.Splitter

    tabControl

    Declaration
    protected TabControl tabControl
    Field Value
    Type
    System.Windows.Forms.TabControl

    tabPage1

    Declaration
    protected TabPage tabPage1
    Field Value
    Type
    System.Windows.Forms.TabPage

    tabPage2

    Declaration
    protected TabPage tabPage2
    Field Value
    Type
    System.Windows.Forms.TabPage

    tabPage3

    Declaration
    protected TabPage tabPage3
    Field Value
    Type
    System.Windows.Forms.TabPage

    toolbarList

    Declaration
    protected CheckedListBox toolbarList
    Field Value
    Type
    System.Windows.Forms.CheckedListBox

    Properties

    DesignerHost

    The IDesignerHost interface in which the BarManager is hosted during design time.

    Declaration
    public virtual IDesignerHost DesignerHost { set; }
    Property Value
    Type Description
    System.ComponentModel.Design.IDesignerHost

    A reference to an object implementing the IDesignerHost interface.

    Remarks

    This will be called only when the BarManager is customized in design mode.

    Methods

    Dispose(Boolean)

    Cleans up any resources being used.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    InitCustomizationPanel(BarCustomizationDialog, BarManager)

    Initializes the CustomizationPanel object.

    Declaration
    public virtual void InitCustomizationPanel(BarCustomizationDialog dlg, BarManager customizingManager)
    Parameters
    Type Name Description
    BarCustomizationDialog dlg

    The dialog where this control is hosted.

    BarManager customizingManager

    The BarManager that this control is customizing.

    Remarks

    This method will be called to initialize the CustomizationPanel and pass its references to the above objects.

    Inheritors could override this function and perform custom initialization at this time. When you override this function make sure to call the base class for proper initialization.

    OnDialogActivated()

    Declaration
    protected virtual void OnDialogActivated()

    OnDialogClosing()

    Called when the dialog in which this control is hosted is closing.

    Declaration
    public virtual void OnDialogClosing()
    Remarks

    Inheritors can override this function to perform custom clean up. Make sure to call the base class when you override this function for proper clean up.

    OnDialogDeactivated()

    Declaration
    protected virtual void OnDialogDeactivated()

    OnDialogLoad()

    Called when the dialog in which this control is hosted is loaded.

    Declaration
    protected virtual void OnDialogLoad()
    Remarks

    This virtual is available for inheritors to override and perform custom initialization. Make sure to call the base class when you override.

    OnDialogVisibiltyChanged()

    Called when the dialog in which this control is hosted is either made visible or hidden.

    Declaration
    protected virtual void OnDialogVisibiltyChanged()
    Remarks

    This virtual is available for inheritors to override and perform custom operations. Make sure to call the base class when you override.

    RemoveReferencesToItem(Bar)

    Declaration
    public virtual void RemoveReferencesToItem(Bar bar)
    Parameters
    Type Name Description
    Bar bar

    RemoveReferencesToItem(BarItem)

    Declaration
    public virtual void RemoveReferencesToItem(BarItem item)
    Parameters
    Type Name Description
    BarItem item
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved