Class GraphicStyleInfo
Inheritance
System.Object
GraphicStyleInfo
Implements
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
System.IDisposable
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 |
System.Windows.Media.Brush |
BorderBrush
Declaration
public Brush BorderBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
BorderThickness
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Type |
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
CellName
Declaration
public string CellName { get; set; }
Property Value
CellType
Declaration
public string CellType { get; set; }
Property Value
CellValue
Declaration
public object CellValue { get; set; }
Property Value
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
Foreground
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
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
HasBorderBrush
Declaration
public bool HasBorderBrush { get; }
Property Value
HasBorderThickness
Declaration
public bool HasBorderThickness { get; }
Property Value
HasCellType
Declaration
public bool HasCellType { get; }
Property Value
HasCellValue
Declaration
public bool HasCellValue { get; }
Property Value
HasEnabled
Declaration
public bool HasEnabled { get; }
Property Value
HasForeground
Declaration
public bool HasForeground { get; }
Property Value
HasHorizontalAlignment
Declaration
public bool HasHorizontalAlignment { get; }
Property Value
HasReadOnly
Declaration
public bool HasReadOnly { get; }
Property Value
HasVerticalAlignment
Declaration
public bool HasVerticalAlignment { get; }
Property Value
HorizontalAlignment
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type |
System.Windows.HorizontalAlignment |
ReadOnly
Declaration
public bool ReadOnly { get; set; }
Property Value
Store
Declaration
public GraphicStyleInfoStore Store { get; }
Property Value
Text
Declaration
public string Text { get; set; }
Property Value
VerticalAlignment
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type |
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