Class GraphicStyleInfo
Inheritance
System.Object
GraphicStyleInfo
Implements
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GraphicStyleInfo : StyleInfoBase, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IDisposable
Constructors
GraphicStyleInfo()
Initializes a new style object.
Declaration
public GraphicStyleInfo()
GraphicStyleInfo(GraphicStyleInfo)
Initializes a new style object and copies all data from an existing style object.
Declaration
public GraphicStyleInfo(GraphicStyleInfo style)
Parameters
Type |
Name |
Description |
GraphicStyleInfo |
style |
The style object that contains the original data.
|
GraphicStyleInfo(GraphicStyleInfoStore)
Declaration
public GraphicStyleInfo(GraphicStyleInfoStore store)
Parameters
GraphicStyleInfo(StyleInfoIdentityBase)
Declaration
public GraphicStyleInfo(StyleInfoIdentityBase identity)
Parameters
GraphicStyleInfo(StyleInfoIdentityBase, GraphicStyleInfoStore)
Declaration
public GraphicStyleInfo(StyleInfoIdentityBase identity, GraphicStyleInfoStore store)
Parameters
Properties
Background
Declaration
public Brush Background { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Brush |
|
BorderBrush
Declaration
public Brush BorderBrush { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Brush |
|
BorderThickness
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Type |
Description |
System.Windows.Thickness |
|
CellIdentity
Holds identity information such as row and column index for the current GridStyleInfo.
Declaration
public GraphicStyleInfoIdentity CellIdentity { get; set; }
Property Value
CellIndex
Returns the cell row column index.
Declaration
public int CellIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
CellName
Declaration
public string CellName { get; set; }
Property Value
Type |
Description |
System.String |
|
CellType
Declaration
public string CellType { get; set; }
Property Value
Type |
Description |
System.String |
|
CellValue
Declaration
public object CellValue { get; set; }
Property Value
Type |
Description |
System.Object |
|
Default
Declaration
public static GraphicStyleInfo Default { get; }
Property Value
Enabled
Gets or sets a value indicating whether the Graphic cell is locked or not.
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Foreground
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Brush |
|
GraphicCellControl
Declaration
public GraphicCellControl GraphicCellControl { get; set; }
Property Value
GraphicModel
Declaration
public GraphicModel GraphicModel { get; }
Property Value
HasBackground
Declaration
public bool HasBackground { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasBorderBrush
Declaration
public bool HasBorderBrush { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasBorderThickness
Declaration
public bool HasBorderThickness { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasCellType
Declaration
public bool HasCellType { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasCellValue
Declaration
public bool HasCellValue { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasEnabled
Declaration
public bool HasEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasForeground
Declaration
public bool HasForeground { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasHorizontalAlignment
Declaration
public bool HasHorizontalAlignment { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasReadOnly
Declaration
public bool HasReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasVerticalAlignment
Declaration
public bool HasVerticalAlignment { get; }
Property Value
Type |
Description |
System.Boolean |
|
HorizontalAlignment
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type |
Description |
System.Windows.HorizontalAlignment |
|
ReadOnly
Declaration
public bool ReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Store
Declaration
public GraphicStyleInfoStore Store { get; }
Property Value
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
VerticalAlignment
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type |
Description |
System.Windows.VerticalAlignment |
|
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type |
Name |
Description |
StyleInfoProperty |
sip |
The StyleInfoProperty descriptor for this subobject.
|
Returns
Overrides
GetDefaultStyle()
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Overrides
GetOffLineCopy()
Creates a new GridStyleInfo and copies its cell and identity information from the current object. The new
instance will be made off line so that changes in this style object are not be stored in the GridData
Declaration
public GraphicStyleInfo GetOffLineCopy()
Returns
ResetBackground()
Declaration
public void ResetBackground()
ResetBorderBrush()
Declaration
public void ResetBorderBrush()
ResetBorderThickness()
Declaration
public void ResetBorderThickness()
ResetCellValue()
Declaration
public void ResetCellValue()
ResetEnabled()
Declaration
public void ResetEnabled()
ResetForeground()
Declaration
public void ResetForeground()
ResetHorizontalAlignment()
Declaration
public void ResetHorizontalAlignment()
ResetReadOnly()
Declaration
public void ResetReadOnly()
ResetVerticalAlignment()
Declaration
public void ResetVerticalAlignment()
Implements
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
System.IDisposable