Class DragPreviewRowStyleInfo
Represents the style information for Drag Preview Row during row drag-drop.
Inheritance
System.Object
DragPreviewRowStyleInfo
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Syncfusion.SfDataGrid.WinForms.dll
public class DragPreviewRowStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
Initializes a new instance of DragPreviewRowStyleInfo.
Declaration
public DragPreviewRowStyleInfo()
Initializes a new instance with identity.
Declaration
public DragPreviewRowStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Initializes a new instance with identity and store.
Declaration
public DragPreviewRowStyleInfo(StyleInfoSubObjectIdentity identity, DragPreviewRowStyleInfoStore store)
Parameters
Initializes a new instance with the specified store.
Declaration
public DragPreviewRowStyleInfo(DragPreviewRowStyleInfoStore store)
Parameters
Properties
Gets or sets the background color of the drag preview row.
Declaration
public Color BackColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Gets or sets the border color for DragPreviewRow.
Declaration
public Color BorderColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Gets the default DragPreviewRowStyleInfo with predefined values.
Declaration
public static DragPreviewRowStyleInfo Default { get; }
Property Value
Gets or sets the font for the drag preview row.
Declaration
public Font Font { get; set; }
Property Value
Gets or sets the background color of the row count indicator.
Declaration
public Color RowCountIndicatorBackColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
RowCountIndicatorTextColor
Gets or sets the text color of the row count indicator.
Declaration
public Color RowCountIndicatorTextColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Declaration
public DragPreviewRowStyleInfoStore Store { get; }
Property Value
TextColor
Gets or sets the text color of the drag preview row.
Declaration
public Color TextColor { get; set; }
Property Value
| Type |
| System.Drawing.Color |
Methods
Creates identity for this style sub-object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Returns
Overrides
Returns the default style object for DragPreviewRowStyleInfo.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Overrides
Creates a copy of the current style object for a new owner.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Returns
Overrides
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable