Class GroupDropAreaStyleInfo
Represents a class that contains the properties for customizing the styles of the Group drop area.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GroupDropAreaStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GroupDropAreaStyleInfo()
Initializes a new instance of the GroupDropAreaStyleInfo class.
Declaration
public GroupDropAreaStyleInfo()
GroupDropAreaStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the GroupDropAreaStyleInfo class.
Declaration
public GroupDropAreaStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
GroupDropAreaStyleInfo(StyleInfoSubObjectIdentity, GroupDropAreaStyleInfoStore)
Initializes a new instance of the GroupDropAreaStyleInfo class.
Declaration
public GroupDropAreaStyleInfo(StyleInfoSubObjectIdentity identity, GroupDropAreaStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | |
GroupDropAreaStyleInfoStore | store |
GroupDropAreaStyleInfo(GroupDropAreaStyleInfo)
Initializes a new instance of the GroupDropAreaStyleInfo class.
Declaration
public GroupDropAreaStyleInfo(GroupDropAreaStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GroupDropAreaStyleInfo | style | The GroupDropAreaStyleInfo that need to be initialized. |
GroupDropAreaStyleInfo(GroupDropAreaStyleInfoStore)
Initializes a new instance of the GroupDropAreaStyleInfo class.
Declaration
public GroupDropAreaStyleInfo(GroupDropAreaStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GroupDropAreaStyleInfoStore | store |
Fields
Empty
Maintains the default style of the group drop area to read.
Declaration
public static readonly GroupDropAreaStyleInfo Empty
Field Value
Type |
---|
GroupDropAreaStyleInfo |
Properties
BackColor
Gets or sets the back color of the group drop area.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Remarks
BaseStyle
Gets or sets the base style.
Declaration
public string BaseStyle { get; set; }
Property Value
Type |
---|
System.String |
Borders
Gets or sets the border style of the group drop area items.
Declaration
public GridBordersInfo Borders { get; set; }
Property Value
Type |
---|
GridBordersInfo |
Default
Gets the default size of the GroupDropAreaStyleInfo.
Declaration
public static GroupDropAreaStyleInfo Default { get; }
Property Value
Type |
---|
GroupDropAreaStyleInfo |
Font
Gets or sets the font for the group drop area text.
Declaration
public GridFontInfo Font { get; set; }
Property Value
Type |
---|
GridFontInfo |
HasBaseStyle
Gets a value indicating whether the BaseStyle property has been modified.
Declaration
public bool HasBaseStyle { get; }
Property Value
Type |
---|
System.Boolean |
HasBorders
Gets a value indicating whether the Borders has been modified.
Declaration
public bool HasBorders { get; }
Property Value
Type |
---|
System.Boolean |
HasFont
Gets a value indicating whether the System.Drawing.Font property has been modified.
Declaration
public bool HasFont { get; }
Property Value
Type |
---|
System.Boolean |
HasInterior
Gets a value indicating whether the Interior property has been modified.
Declaration
public bool HasInterior { get; }
Property Value
Type |
---|
System.Boolean |
HasTextColor
Gets a value indicating whether the TextColor property has been modified.
Declaration
public bool HasTextColor { get; }
Property Value
Type |
---|
System.Boolean |
Interior
Gets or sets the brush for drawing the interior of the group drop area.
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 GroupDropAreaStyleInfoStore Store { get; }
Property Value
Type |
---|
GroupDropAreaStyleInfoStore |
TextColor
Gets or sets the text color of the group drop area.
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 area.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style of the group drop area. |
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. |