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.
Implements
Inherited Members
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 |
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 |
| 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
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. |