Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.MenuBar Namespace / MenuItem Class / OnlyInExtendMode Property


In This Topic
    OnlyInExtendMode Property
    In This Topic
    Gets or sets a boolean value indicating if the menu item is displayed only in extend mode.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the menu item is displayed only in extend mode.")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(False)>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(True)>
    <LocalizableAttribute(False)>
    Public Property OnlyInExtendMode As Boolean
    'Usage
     
    Dim instance As MenuItem
    Dim value As Boolean
     
    instance.OnlyInExtendMode = value
     
    value = instance.OnlyInExtendMode
    [Description("Indicates if the menu item is displayed only in extend mode.")]
    [Category("Appearance")]
    [DefaultValue(false)]
    [Browsable(true)]
    [MergableProperty(true)]
    [Localizable(false)]
    public bool OnlyInExtendMode {get; set;}

    Property Value

    true if the menu item is displayed only in extend mode; false if the menu item is always displayed. By default, false.
    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