Xceed Grid for WinForms v4.3 Documentation
FlatStyle Property (WinCheckBox)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCheckBox Class : FlatStyle Property
Gets or sets the flat style appearance of the checkbox control.
Syntax
'Declaration
 
<DescriptionAttribute("The flat style appearance of the checkbox.")>

<CategoryAttribute("Appearance")>

<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>

Public Property FlatStyle As FlatStyle
'Usage
 
Dim instance As WinCheckBox

Dim value As FlatStyle

 

instance.FlatStyle = value

 

value = instance.FlatStyle
[Description("The flat style appearance of the checkbox.")]

[Category("Appearance")]

[DefaultValue(Mono.Cecil.CustomAttributeArgument)]

public FlatStyle FlatStyle {get; set;}

Property Value

A System.Windows.Forms.FlatStyle value representing the flat style appearance of the checkbox control. By default, FlatStyle.Standard.
Remarks

If the FlatStyle property is set to FlatStyle.Popup, checkbox will initially appear flat until the mouse pointer moves over it. When the mouse pointer moves over the checkbox, it appears as a standard checkbox until the mouse pointer is moved off of it again.

If the FlatStyle.System is used, the appearance of the checkbox is determined by the operating system. If supported, users can change the appearance of the checkbox by adjusting the appearance settings of their operating system.

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

WinCheckBox Class
WinCheckBox Members