Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.MenuBar Namespace / SmartMenuBar Class / HandleMdiControlButtons Property


In This Topic
    HandleMdiControlButtons Property
    In This Topic
    Indicates if the SmartMenuBar will take charge of the caption control buttons when hosted in a MDI container form.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the SmartMenuBar will take charge of the caption control buttons in a MDI container form.")>
    <CategoryAttribute("Behavior")>
    <DefaultValueAttribute(False)>
    Public Property HandleMdiControlButtons As Boolean
    'Usage
     
    Dim instance As SmartMenuBar
    Dim value As Boolean
     
    instance.HandleMdiControlButtons = value
     
    value = instance.HandleMdiControlButtons
    [Description("Indicates if the SmartMenuBar will take charge of the caption control buttons in a MDI container form.")]
    [Category("Behavior")]
    [DefaultValue(false)]
    public bool HandleMdiControlButtons {get; set;}

    Property Value

    true if the SmartMenuBar will handle the MDI control buttons; false otherwise.
    Remarks

    If this property is set to true in a form that has a MainMenu component, the MainMenu will never be shown.

    This property has no effect if the parent form is not an MDI container.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also