Class SelectionStyleInfo
Represents the functionalities that holds all information stored for a item selection.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.ListView.Styles
Assembly: Syncfusion.SfListView.WinForms.dll
Syntax
public class SelectionStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
SelectionStyleInfo()
Initializes a new instance of the SelectionStyleInfo class.
Declaration
public SelectionStyleInfo()
SelectionStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the SelectionStyleInfo class.
Declaration
public SelectionStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | StyleInfoIdentityBase to create an identity for |
SelectionStyleInfo(StyleInfoSubObjectIdentity, SelectionStyleInfoStore)
Initializes a new instance of the SelectionStyleInfo class.
Declaration
public SelectionStyleInfo(StyleInfoSubObjectIdentity identity, SelectionStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | StyleInfoIdentityBase to create an identity for SelectionStyleInfo. |
SelectionStyleInfoStore | store | A SelectionStyleInfoStore that holds data for this SelectionStyleInfoStore. All changes in this style object will be saved in the SelectionStyleInfoStore object. |
Properties
Default
Gets the default ItemSelectionStyleInfo value.
Declaration
public static SelectionStyleInfo Default { get; }
Property Value
Type |
---|
SelectionStyleInfo |
HoverBackColor
Gets or sets a value indicating whether the item Hover BackColor of a item instead of using
Declaration
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverForeColor
Gets or sets a value indicating whether the item Hover foreColor of a item instead of using
Declaration
public Color HoverForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelectionBackColor
Gets or sets a value indicating whether the selection BackColor of a item while mouse hovering instead of using
Declaration
public Color SelectionBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelectionForeColor
Gets or sets a value indicating whether the selection ForeColor of a item while mouse hovering instead of using
Declaration
public Color SelectionForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Store
Gets the SelectionStyleInfoStore object that holds all the data for this style object.
Declaration
public SelectionStyleInfoStore Store { get; }
Property Value
Type |
---|
SelectionStyleInfoStore |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
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. |