Xceed Grid for WinForms v4.3 Documentation
CanSelect Property (ThemedContainerControl)


Xceed.UI.v1.4 Assembly > Xceed.UI Namespace > ThemedContainerControl Class : CanSelect Property
Gets or sets a boolean value indicating if the ThemedContainerControl 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 ThemedContainerControl
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 ThemedContainerControl 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

Reference

ThemedContainerControl Class
ThemedContainerControl Members