Class GroupDropAreaItemStyleInfo
Implements the functionalities that provides a StyleInfoSubObjectBase object for group drop area.
Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GroupDropAreaItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GroupDropAreaItemStyleInfo()
Initializes a new instance of the GroupDropAreaItemStyleInfo class.
Declaration
public GroupDropAreaItemStyleInfo()
GroupDropAreaItemStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the GroupDropAreaItemStyleInfo class.
Declaration
public GroupDropAreaItemStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
GroupDropAreaItemStyleInfo(StyleInfoSubObjectIdentity, GroupDropAreaItemStyleInfoStore)
Initializes a new instance of the GroupDropAreaItemStyleInfo class.
Declaration
public GroupDropAreaItemStyleInfo(StyleInfoSubObjectIdentity identity, GroupDropAreaItemStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | |
GroupDropAreaItemStyleInfoStore | store |
GroupDropAreaItemStyleInfo(GroupDropAreaItemStyleInfo)
Initializes a new instance of the GroupDropAreaItemStyleInfo class. Initializes the new instance of the GroupDropAreaItemStyleInfo class.
Declaration
public GroupDropAreaItemStyleInfo(GroupDropAreaItemStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GroupDropAreaItemStyleInfo | style | The style info of the Group drop area. |
GroupDropAreaItemStyleInfo(GroupDropAreaItemStyleInfoStore)
Initializes a new instance of the GroupDropAreaItemStyleInfo class.
Declaration
public GroupDropAreaItemStyleInfo(GroupDropAreaItemStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GroupDropAreaItemStyleInfoStore | store | The style info store for the GroupDropArea . |
Fields
Empty
Maintains the empty instance for retrieve the default value.
Declaration
public static readonly GroupDropAreaItemStyleInfo Empty
Field Value
Type |
---|
GroupDropAreaItemStyleInfo |
Properties
BackColor
Gets or sets the back color of the group drop area item.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Remarks
BaseStyle
Gets or sets the base style for the group drop items.
Declaration
public string BaseStyle { get; set; }
Property Value
Type |
---|
System.String |
Borders
Gets or sets the border style of the GroupDropItems.
Declaration
public GridBordersInfo Borders { get; set; }
Property Value
Type |
---|
GridBordersInfo |
CloseIconColor
Gets or sets the foreground color of the close icon in the group drop area item.
Declaration
public Color CloseIconColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Default
Gets the default style of the GroupDropAreaItem.
Declaration
public static GroupDropAreaItemStyleInfo Default { get; }
Property Value
Type |
---|
GroupDropAreaItemStyleInfo |
Font
Gets or sets the font for the GroupDropAreaItem.
Declaration
public GridFontInfo Font { get; set; }
Property Value
Type |
---|
GridFontInfo |
HasBaseStyle
Gets a value indicating whether the BaseStyle has been modified.
Declaration
public bool HasBaseStyle { get; }
Property Value
Type |
---|
System.Boolean |
HasBorders
Gets a value indicating whether the border style has been modified.
Declaration
public bool HasBorders { get; }
Property Value
Type |
---|
System.Boolean |
HasFont
Gets a value indicating whether the font value has been modified.
Declaration
public bool HasFont { get; }
Property Value
Type |
---|
System.Boolean |
HasInterior
Gets a value indicating whether the Interior value has been modified.
Declaration
public bool HasInterior { get; }
Property Value
Type |
---|
System.Boolean |
HasTextColor
Gets a value indicating whether the TextColor has been modified.
Declaration
public bool HasTextColor { get; }
Property Value
Type |
---|
System.Boolean |
Interior
Gets or sets the interior brush for the group drop area item.
Declaration
public BrushInfo Interior { get; set; }
Property Value
Type |
---|
BrushInfo |
Remarks
The default value is null and will be considered only if it is initialized.
Store
Gets a new instance of the GroupDropAreaItemStyleInfoStore class.
Declaration
public GroupDropAreaItemStyleInfoStore Store { get; }
Property Value
Type |
---|
GroupDropAreaItemStyleInfoStore |
TextColor
Gets or sets the text color for the group drop items.
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create the SubObjectIdentity for the style info property.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | The style info property that needs to create the sub objects. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Returns the DataGridStyleInfoSubObjectIdentity for the given property. |
Overrides
GetDefaultStyle()
Retrieves the default style of the group drop item.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style. |
Overrides
GetFont()
Gets the cached GDI+ font generated from font information of the Font object.
Declaration
public Font GetFont()
Returns
Type | Description |
---|---|
System.Drawing.Font | Instance of the Font. |
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. |