Xceed Grid for WinForms v4.3 Documentation
Xceed.UI.v1.4 Assembly / Xceed.UI Namespace / ThemedScrollableControl Class / CanSelect Property


In This Topic
    CanSelect Property (ThemedScrollableControl)
    In This Topic
    Gets or sets a boolean value indicating if the ThemedScrollableControl can be selected.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the Control can be selected.")>
    <CategoryAttribute("Behavior")>
    <BrowsableAttribute(True)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
    Public Shadows Property CanSelect As Boolean
    'Usage
     
    Dim instance As ThemedScrollableControl
    Dim value As Boolean
     
    instance.CanSelect = value
     
    value = instance.CanSelect
    [Description("Indicates if the Control can be selected.")]
    [Category("Behavior")]
    [Browsable(true)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
    public new bool CanSelect {get; set;}

    Property Value

    true if the ThemedScrollableControl can be selected; false otherwise. By default, DefaultCanSelect.
    Remarks

    This property returns true if the control has ControlStyles.Selectable set to true, is contained in another control, and all its parent controls are both visible and enabled.

    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