menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCommentStyleInfo - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCommentStyleInfo

    Provides a StyleInfoSubObjectBase object for comment properties in a cell.

    Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style.

    Inheritance
    System.Object
    StyleInfoBase
    StyleInfoSubObjectBase
    GridCommentStyleInfo
    Implements
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    StyleInfoBase.BeginInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.CacheValues
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    StyleInfoBase.ClearCache()
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.EndInit()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.IsChanged
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.Store
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.Updating
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Dispose()
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.Owner
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.SubObjectIdentity
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCommentStyleInfo : StyleInfoSubObjectBase, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    GridCommentStyleInfo()

    Initializes a new empty GridCommentStyleInfo object.

    Declaration
    public GridCommentStyleInfo()

    GridCommentStyleInfo(StyleInfoSubObjectIdentity)

    Initalizes a new GridCommentStyleInfo object and associates it with an existing .

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

    A that holds the indentity for this GridCommentStyleInfo.

    GridCommentStyleInfo(StyleInfoSubObjectIdentity, GridCommentStyleInfoStore)

    Initalizes a new GridCommentStyleInfo object and associates it with an existing .

    Declaration
    public GridCommentStyleInfo(StyleInfoSubObjectIdentity identity, GridCommentStyleInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the indentity for this GridCommentStyleInfo.

    GridCommentStyleInfoStore store

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

    Properties

    BottomLeftComment

    Declaration
    public string BottomLeftComment { get; set; }
    Property Value
    Type
    System.String

    BottomLeftCommentBrush

    Declaration
    public Brush BottomLeftCommentBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    BottomLeftCommentTemplateKey

    Declaration
    public string BottomLeftCommentTemplateKey { get; set; }
    Property Value
    Type
    System.String

    BottomRightComment

    Declaration
    public string BottomRightComment { get; set; }
    Property Value
    Type
    System.String

    BottomRightCommentBrush

    Declaration
    public Brush BottomRightCommentBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    BottomRightCommentTemplateKey

    Declaration
    public string BottomRightCommentTemplateKey { get; set; }
    Property Value
    Type
    System.String

    Default

    Returns a default GridCommentStyleInfo to be used with a default style.

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

    The default.

    Remarks

    The Default of the GridStyleInfo class will return the validation info that this method generates through its overriden version of GetDefaultStyle().

    HasBottomLeftComment

    Specifies whether the BottomLeftComment property is initialized.

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

    HasBottomLeftCommentBrush

    Specifies whether the BottomLeftCommentBrush property is initialized.

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

    HasBottomLeftCommentTemplateKey

    Specifies whether the BottomLeftCommentTemplateKey property is initialized.

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

    HasBottomRightComment

    Specifies whether the BottomRightComment property is initialized.

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

    HasBottomRightCommentBrush

    Specifies whether the BottomRightCommentBrush property is initialized.

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

    HasBottomRightCommentTemplateKey

    Specifies whether the BottomRightCommentTemplateKey property is initialized.

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

    HasTopLeftComment

    Specifies whether the TopLeftComment property is initialized.

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

    HasTopLeftCommentBrush

    Specifies whether the TopLeftCommentBrush property is initialized.

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

    HasTopLeftCommentTemplateKey

    Specifies whether the TopLeftCommentTemplateKey property is initialized.

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

    HasTopRightComment

    Specifies whether the TopRightComment property is initialized.

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

    HasTopRightCommentBrush

    Specifies whether the TopRightCommentBrush property is initialized.

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

    HasTopRightCommentTemplateKey

    Specifies whether the TopRightCommentTemplateKey property is initialized.

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

    TopLeftComment

    Declaration
    public string TopLeftComment { get; set; }
    Property Value
    Type
    System.String

    TopLeftCommentBrush

    Declaration
    public Brush TopLeftCommentBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    TopLeftCommentTemplateKey

    Declaration
    public string TopLeftCommentTemplateKey { get; set; }
    Property Value
    Type
    System.String

    TopRightComment

    Declaration
    public string TopRightComment { get; set; }
    Property Value
    Type
    System.String

    TopRightCommentBrush

    Declaration
    public Brush TopRightCommentBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.Brush

    TopRightCommentTemplateKey

    Declaration
    public string TopRightCommentTemplateKey { get; set; }
    Property Value
    Type
    System.String

    Methods

    GetDefaultStyle()

    Returns Default.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    A GridCommentStyleInfo object with default values.

    Overrides
    StyleInfoBase.GetDefaultStyle()

    ResetBottomLeftComment()

    Resets the value of BottomLeftComment property.

    Declaration
    public void ResetBottomLeftComment()

    ResetBottomLeftCommentBrush()

    Resets the value of BottomLeftCommentBrush property.

    Declaration
    public void ResetBottomLeftCommentBrush()

    ResetBottomLeftCommentTemplateKey()

    Resets the value of BottomLeftCommentTemplateKey property.

    Declaration
    public void ResetBottomLeftCommentTemplateKey()

    ResetBottomRightComment()

    Resets the value of BottomRightComment property.

    Declaration
    public void ResetBottomRightComment()

    ResetBottomRightCommentBrush()

    Resets the value of BottomRightCommentBrush property.

    Declaration
    public void ResetBottomRightCommentBrush()

    ResetBottomRightCommentTemplateKey()

    Resets the value of BottomRightCommentTemplateKey property.

    Declaration
    public void ResetBottomRightCommentTemplateKey()

    ResetTopLeftComment()

    Resets the value of TopLeftComment property.

    Declaration
    public void ResetTopLeftComment()

    ResetTopLeftCommentBrush()

    Resets the value of TopLeftCommentBrush property.

    Declaration
    public void ResetTopLeftCommentBrush()

    ResetTopLeftCommentTemplateKey()

    Resets the value of TopLeftCommentTemplateKey property.

    Declaration
    public void ResetTopLeftCommentTemplateKey()

    ResetTopRightComment()

    Resets the value of TopRightComment property.

    Declaration
    public void ResetTopRightComment()

    ResetTopRightCommentBrush()

    Resets the value of TopRightCommentBrush property.

    Declaration
    public void ResetTopRightCommentBrush()

    ResetTopRightCommentTemplateKey()

    Resets the value of TopRightCommentTemplateKey property.

    Declaration
    public void ResetTopRightCommentTemplateKey()

    ShouldSerializeBottomLeftComment()

    Specifies whether the BottomLeftComment property is serializable.

    Declaration
    public bool ShouldSerializeBottomLeftComment()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeBottomLeftCommentBrush()

    Specifies whether the BottomLeftCommentBrush property is serializable.

    Declaration
    public bool ShouldSerializeBottomLeftCommentBrush()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeBottomLeftCommentTemplateKey()

    Specifies whether the BottomLeftCommentTemplateKey property is serializable.

    Declaration
    public bool ShouldSerializeBottomLeftCommentTemplateKey()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeBottomRightComment()

    Specifies whether the BottomRightComment property is serializable.

    Declaration
    public bool ShouldSerializeBottomRightComment()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeBottomRightCommentBrush()

    Specifies whether the BottomRightCommentBrush property is serializable.

    Declaration
    public bool ShouldSerializeBottomRightCommentBrush()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeBottomRightCommentTemplateKey()

    Specifies whether the BottomRightCommentTemplateKey property is serializable.

    Declaration
    public bool ShouldSerializeBottomRightCommentTemplateKey()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeTopLeftComment()

    Specifies whether the TopLeftComment property is serializable.

    Declaration
    public bool ShouldSerializeTopLeftComment()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeTopLeftCommentBrush()

    Specifies whether the TopLeftCommentBrush property is serializable.

    Declaration
    public bool ShouldSerializeTopLeftCommentBrush()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeTopLeftCommentTemplateKey()

    Specifies whether the TopLeftCommentTemplateKey property is serializable.

    Declaration
    public bool ShouldSerializeTopLeftCommentTemplateKey()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeTopRightComment()

    Specifies whether the TopRightComment property is serializable.

    Declaration
    public bool ShouldSerializeTopRightComment()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeTopRightCommentBrush()

    Specifies whether the TopRightCommentBrush property is serializable.

    Declaration
    public bool ShouldSerializeTopRightCommentBrush()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    ShouldSerializeTopRightCommentTemplateKey()

    Specifies whether the TopRightCommentTemplateKey property is serializable.

    Declaration
    public bool ShouldSerializeTopRightCommentTemplateKey()
    Returns
    Type Description
    System.Boolean

    True if it can be serialized.

    Implements

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