Class HyperlinkCellStyleInfo
Represents a class that contains the properties for customizing the styles of the hyperlink column.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class HyperlinkCellStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
HyperlinkCellStyleInfo()
Initializes a new instance of the HyperlinkCellStyleInfo class.
Declaration
public HyperlinkCellStyleInfo()
HyperlinkCellStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the HyperlinkCellStyleInfo class.
Declaration
public HyperlinkCellStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
HyperlinkCellStyleInfo(StyleInfoSubObjectIdentity, HyperlinkCellStyleInfoStore)
Initializes a new instance of the HyperlinkCellStyleInfo class.
Declaration
public HyperlinkCellStyleInfo(StyleInfoSubObjectIdentity identity, HyperlinkCellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | |
HyperlinkCellStyleInfoStore | store |
HyperlinkCellStyleInfo(HyperlinkCellStyleInfo)
Initializes a new instance of the HyperlinkCellStyleInfo class.
Declaration
public HyperlinkCellStyleInfo(HyperlinkCellStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
HyperlinkCellStyleInfo | style | The HyperlinkCellStyleInfo that need to be initialized. |
HyperlinkCellStyleInfo(HyperlinkCellStyleInfoStore)
Initializes a new instance of the HyperlinkCellStyleInfo class.
Declaration
public HyperlinkCellStyleInfo(HyperlinkCellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
HyperlinkCellStyleInfoStore | store |
Fields
Empty
Maintains the default style of the currentcell to read.
Declaration
public static readonly HyperlinkCellStyleInfo Empty
Field Value
Type |
---|
HyperlinkCellStyleInfo |
Properties
Default
Gets the default style of the HyperlinkCellStyleInfo.
Declaration
public static HyperlinkCellStyleInfo Default { get; }
Property Value
Type |
---|
HyperlinkCellStyleInfo |
DefaultLinkColor
Gets or sets the default fore color of hyperlink column.
Declaration
public Color DefaultLinkColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoveredLinkColor
Gets or sets the hovered fore color of the hyperlink column.
Declaration
public Color HoveredLinkColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
ShowUnderline
Gets or sets a value indicating whether the hyperlink should be underlined or not.
Declaration
public bool ShowUnderline { get; set; }
Property Value
Type |
---|
System.Boolean |
VisitedLinkColor
Gets or sets the visited fore color of the hyperlink column.
Declaration
public Color VisitedLinkColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Retrieves the default style of the hyperlink column.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style of the hyperlink column. |
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. |