Class CheckBoxStyleInfoBase
Represents a class that contains the properties for customizing the styles of the check box.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Styles
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class CheckBoxStyleInfoBase : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
CheckBoxStyleInfoBase()
Initializes a new instance of the CheckBoxStyleInfoBase class.
Declaration
public CheckBoxStyleInfoBase()
CheckBoxStyleInfoBase(CheckBoxStyleInfoBase)
Initializes a new instance of the CheckBoxStyleInfoBase class.
Declaration
public CheckBoxStyleInfoBase(CheckBoxStyleInfoBase style)
Parameters
Type | Name | Description |
---|---|---|
CheckBoxStyleInfoBase | style | The CheckBoxStyleInfoBase that need to be initialized. |
CheckBoxStyleInfoBase(CheckBoxStyleInfoStore)
Initializes a new instance of the CheckBoxStyleInfoBase class.
Declaration
public CheckBoxStyleInfoBase(CheckBoxStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
CheckBoxStyleInfoStore | store | The |
CheckBoxStyleInfoBase(StyleInfoSubObjectIdentity)
Initializes a new instance of the CheckBoxStyleInfoBase class.
Declaration
public CheckBoxStyleInfoBase(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
CheckBoxStyleInfoBase(StyleInfoSubObjectIdentity, CheckBoxStyleInfoStore)
Initializes a new instance of the CheckBoxStyleInfoBase class.
Declaration
public CheckBoxStyleInfoBase(StyleInfoSubObjectIdentity identity, CheckBoxStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | |
CheckBoxStyleInfoStore | store |
Fields
Empty
Maintains the default style of the currentcell to read.
Declaration
public static readonly CheckBoxStyleInfoBase Empty
Field Value
Type |
---|
CheckBoxStyleInfoBase |
Properties
Alignment
Gets or sets a value indicating the alignment of the check box.
Declaration
public CheckBoxAlignment Alignment { get; set; }
Property Value
Type |
---|
CheckBoxAlignment |
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 CheckBoxStyleInfoBase.
Declaration
public static CheckBoxStyleInfoBase Default { get; }
Property Value
Type |
---|
CheckBoxStyleInfoBase |
HasSize
Gets a value indicating whether padding has been initialized for the
Declaration
public bool HasSize { get; }
Property Value
Type |
---|
System.Boolean |
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 |
Size
Gets or sets the size of the check box.
Declaration
public Size Size { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
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. |