menu

WinForms

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

    Show / Hide Table of Contents

    Class ListViewItemStyleInfo

    Represents the functionalities that holds all information stored for a items.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    ListViewItemStyleInfo
    FooterItemStyleInfo
    GroupItemStyleInfo
    HeaderItemStyleInfo
    ItemStyleInfo
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(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.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 ListViewItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    ListViewItemStyleInfo()

    Initializes a new instance of the ListViewItemStyleInfo class.

    Declaration
    public ListViewItemStyleInfo()

    ListViewItemStyleInfo(StyleInfoSubObjectIdentity)

    Initializes a new instance of the ListViewItemStyleInfo class.

    Declaration
    public ListViewItemStyleInfo(StyleInfoSubObjectIdentity identity)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the identity for this .

    ListViewItemStyleInfo(StyleInfoSubObjectIdentity, ListViewItemStyleInfoStore)

    Initializes a new instance of the ListViewItemStyleInfo class.

    Declaration
    public ListViewItemStyleInfo(StyleInfoSubObjectIdentity identity, ListViewItemStyleInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the identity for this .

    ListViewItemStyleInfoStore store

    A that holds data for this . All changes in this style object will be saved in the object.

    ListViewItemStyleInfo(ListViewItemStyleInfo)

    Initializes a new instance of the ListViewItemStyleInfo class.

    Declaration
    public ListViewItemStyleInfo(ListViewItemStyleInfo style)
    Parameters
    Type Name Description
    ListViewItemStyleInfo style

    The style object that contains the original data.

    ListViewItemStyleInfo(ListViewItemStyleInfoStore)

    Initializes a new instance of the ListViewItemStyleInfo class.

    Declaration
    public ListViewItemStyleInfo(ListViewItemStyleInfoStore store)
    Parameters
    Type Name Description
    ListViewItemStyleInfoStore store

    A that holds data for this . All changes in this style object will be saved in the object.

    Properties

    BackColor

    Gets or sets a value indicating whether the BackColor of a item instead of using ListViewItemStyleInfo.

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

    Default

    Gets a ListViewItemStyleInfo with default settings.

    Declaration
    public static ListViewItemStyleInfo Default { get; }
    Property Value
    Type Description
    ListViewItemStyleInfo

    Font

    Gets or sets the font for drawing text.

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

    ForeColor

    Gets or sets the color for drawing the item text.

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

    Store

    Gets the object that holds all the data for this style object.

    Declaration
    public ListViewItemStyleInfoStore Store { get; }
    Property Value
    Type Description
    ListViewItemStyleInfoStore

    TextAlignment

    Gets or sets alignment of text in the item.

    Declaration
    public ContentAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    System.Drawing.ContentAlignment

    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
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)

    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
    StyleInfoBase.GetDefaultStyle()

    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.

    Overrides
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)

    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