Class ToolTipStyleInfo
Implements the functionalities that holds all information stored for a ToolTipOption.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class ToolTipStyleInfo : ToolTipVisualStyle, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ToolTipStyleInfo()
Initializes a new instance of the ToolTipStyleInfo class.
Declaration
public ToolTipStyleInfo()
ToolTipStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the ToolTipStyleInfo class.
Declaration
public ToolTipStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
ToolTipStyleInfo(StyleInfoSubObjectIdentity, ToolTipVisualStyleInfoStore)
Initializes a new instance of the ToolTipStyleInfo class and associates it with an existing CellStyleInfoStore.
Declaration
public ToolTipStyleInfo(StyleInfoSubObjectIdentity identity, ToolTipVisualStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
ToolTipVisualStyleInfoStore | store | A ToolTipVisualStyleInfoStore that holds data for this object. All changes in this style object will be saved in the CellStyleInfoStore object. |
Properties
BorderColor
Gets or sets the Border Color of the ToolTipOption.
Declaration
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderThickness
Gets or sets the Border thickness of the ToolTipOption.
Declaration
public int BorderThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
Default
Gets the default style of the ToolTipOption
Declaration
public static ToolTipStyleInfo Default { get; }
Property Value
Type |
---|
ToolTipStyleInfo |
Store
Gets the
Declaration
public ToolTipVisualStyleInfoStore Store { get; }
Property Value
Type |
---|
ToolTipVisualStyleInfoStore |
Methods
GetDefaultStyle()
Override this method to return a default style object for your derived class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | A default style object. |
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. |