Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.TreeView Namespace / Node Class / Expanded Property


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

    Property Value

    true if the node is expanded; false if it is collapsed. By default, true.
    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