menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ListViewStyle - API Reference

    Show / Hide Table of Contents

    Class ListViewStyle

    Represents the different styles maintained for SfListView

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    ScrollerVisualStyle
    ListViewStyle
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    ScrollerVisualStyle.ShouldSerializeHorizontalScrollBar()
    ScrollerVisualStyle.ShouldSerializeVerticalScrollBar()
    ScrollerVisualStyle.CreateSubObjectIdentity(StyleInfoProperty)
    ScrollerVisualStyle.Dispose(Boolean)
    ScrollerVisualStyle.HorizontalScrollBar
    ScrollerVisualStyle.VerticalScrollBar
    VisualStyleBase.UpdateStyles(IThemeProvider)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.SubObjectIdentity
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Owner
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Dispose()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.Store
    StyleInfoBase.CacheValues
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Windows.Forms.Border3DStyle

    BorderColor

    Gets or sets the border color for the SfListView.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BorderSides

    Gets or sets the border sides of the control.

    Declaration
    public Border3DSide BorderSides { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Border3DSide

    BorderStyle

    Gets or sets border style for control.

    Declaration
    public BorderStyle BorderStyle { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Boolean

    HasBorderSides

    Gets a value indicating whether the BorderSides property has been changed or not.

    Declaration
    public bool HasBorderSides { get; }
    Property Value
    Type Description
    System.Boolean

    HasBorderStyle

    Gets a value indicating whether the BorderStyle property has been changed or not.

    Declaration
    public bool HasBorderStyle { get; }
    Property Value
    Type Description
    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 Description
    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.

    Overrides
    ScrollerVisualStyle.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved