Class ListViewStyle
Represents the different styles maintained for SfListView
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.ListView.Styles
Assembly: Syncfusion.SfListView.WinForms.dll
Syntax
public class ListViewStyle : ScrollerVisualStyle, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ListViewStyle()
Initializes a new instance of the ListViewStyle class.
Declaration
public ListViewStyle()
ListViewStyle(ListViewStyleInfoIdentity)
Initializes a new instance of the ListViewStyle class.
Declaration
public ListViewStyle(ListViewStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
ListViewStyleInfoIdentity | identity | A ListViewStyleInfoIdentity value. |
Properties
Border3DStyle
Gets or sets the border 3D style of the control.
Declaration
public Border3DStyle Border3DStyle { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Border3DStyle |
BorderColor
Gets or sets the border color for the SfListView.
Declaration
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderSides
Gets or sets the border sides of the control.
Declaration
public Border3DSide BorderSides { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Border3DSide |
BorderStyle
Gets or sets border style for control.
Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
Type |
---|
System.Windows.Forms.BorderStyle |
CheckBoxStyle
Gets or sets the style applied to all the checkbox items in SFListView.
Declaration
public CheckBoxStyleInfoBase CheckBoxStyle { get; set; }
Property Value
Type | Description |
---|---|
CheckBoxStyleInfoBase | The style that is applied to all the checkbox items in SFListView. The default value is null. |
DefaultStyle
Gets the default style of the form.
Declaration
public static ListViewStyle DefaultStyle { get; }
Property Value
Type |
---|
ListViewStyle |
FooterItemStyle
Gets or sets the style applied to the header item in SfListView.
Declaration
public FooterItemStyleInfo FooterItemStyle { get; set; }
Property Value
Type | Description |
---|---|
FooterItemStyleInfo | The style that is applied to all the footer item in SfListView. The default value is null. |
GroupItemStyle
Gets or sets the style applied to all the group items in SFListView.
Declaration
public GroupItemStyleInfo GroupItemStyle { get; set; }
Property Value
Type | Description |
---|---|
GroupItemStyleInfo | The style that is applied to all the record cells in SFListView. The default value is null. |
HasBorderColor
Gets a value indicating whether the BorderColor property has been changed or not.
Declaration
public bool HasBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasBorderSides
Gets a value indicating whether the BorderSides property has been changed or not.
Declaration
public bool HasBorderSides { get; }
Property Value
Type |
---|
System.Boolean |
HasBorderStyle
Gets a value indicating whether the BorderStyle property has been changed or not.
Declaration
public bool HasBorderStyle { get; }
Property Value
Type |
---|
System.Boolean |
HeaderItemStyle
Gets or sets the style applied to header item in SFListView.
Declaration
public HeaderItemStyleInfo HeaderItemStyle { get; set; }
Property Value
Type | Description |
---|---|
HeaderItemStyleInfo | The style that is applied to the header item in SFListView. The default value is null. |
ItemStyle
Gets or sets the style applied to all the record items in SFListView.
Declaration
public ItemStyleInfo ItemStyle { get; set; }
Property Value
Type | Description |
---|---|
ItemStyleInfo | The style that is applied to all the record items in SFListView. The default value is null. |
SelectionStyle
Gets or sets the style applied to all the item selection in SFListView.
Declaration
public SelectionStyleInfo SelectionStyle { get; set; }
Property Value
Type | Description |
---|---|
SelectionStyleInfo | The style that is applied to all the item selection in SFListView. The default value is null. |
ToolTipStyle
Gets or sets the style applied to the tooltip.
Declaration
public ToolTipStyleInfo ToolTipStyle { get; set; }
Property Value
Type |
---|
ToolTipStyleInfo |
Methods
GetDefaultStyle()
Determines whether item selection has been modified and its contents should be serialized at design-time.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | True if contents were changed; False otherwise. |