Class CheckBoxCellStyleInfo
Represents a class that contains the properties for customizing the styles of the check box.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class CheckBoxCellStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CheckBoxCellStyleInfo()
Initializes a new instance of the CheckBoxCellStyleInfo class.
Declaration
public CheckBoxCellStyleInfo()
CheckBoxCellStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the CheckBoxCellStyleInfo class.
Declaration
public CheckBoxCellStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
CheckBoxCellStyleInfo(StyleInfoSubObjectIdentity, CheckBoxCellStyleInfoStore)
Initializes a new instance of the CheckBoxCellStyleInfo class.
Declaration
public CheckBoxCellStyleInfo(StyleInfoSubObjectIdentity identity, CheckBoxCellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | |
CheckBoxCellStyleInfoStore | store |
CheckBoxCellStyleInfo(CheckBoxCellStyleInfo)
Initializes a new instance of the CheckBoxCellStyleInfo class.
Declaration
public CheckBoxCellStyleInfo(CheckBoxCellStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
CheckBoxCellStyleInfo | style | The CheckBoxCellStyleInfo that need to be initialized. |
CheckBoxCellStyleInfo(CheckBoxCellStyleInfoStore)
Initializes a new instance of the CheckBoxCellStyleInfo class.
Declaration
public CheckBoxCellStyleInfo(CheckBoxCellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CheckBoxCellStyleInfoStore | store |
Fields
Empty
Maintains the default style of the currentcell to read.
Declaration
public static readonly CheckBoxCellStyleInfo Empty
Field Value
Type |
---|
CheckBoxCellStyleInfo |
Properties
CheckBoxAlignment
Gets or sets a value indicating the alignment of the check box.
Declaration
public CellCheckBoxAlignment CheckBoxAlignment { get; set; }
Property Value
Type |
---|
CellCheckBoxAlignment |
CheckedBackColor
Gets or sets the back color of the checked state check box.
Declaration
public Color CheckedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CheckedBorderColor
Gets or sets the border color of the checked state check box.
Declaration
public Color CheckedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
CheckedTickColor
Gets or sets the tick color of the checked state check box.
Declaration
public Color CheckedTickColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Default
Gets the default style of the CheckBoxCellStyleInfo.
Declaration
public static CheckBoxCellStyleInfo Default { get; }
Property Value
Type |
---|
CheckBoxCellStyleInfo |
IndeterminateBackColor
Gets or sets the back color of the indeterminate state check box.
Declaration
public Color IndeterminateBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
IndeterminateBorderColor
Gets or sets the border color of the indeterminate state check box.
Declaration
public Color IndeterminateBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
IndeterminateColor
Gets or sets the color of the indeterminate state check box.
Declaration
public Color IndeterminateColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
UncheckedBackColor
Gets or sets the back color of the unchecked state check box.
Declaration
public Color UncheckedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
UncheckedBorderColor
Gets or sets the border color of the unchecked state check box.
Declaration
public Color UncheckedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Retrieves the default style of the current cell.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style of the current cell. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |