Class Style
The base implementation for style class
Inheritance
System.Object
Style
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public abstract class Style : XDLSSerializableBase, IEntityBase, IXDLSSerializable, IStyle
Constructors
Style(IDocument)
Initializing constructor
Declaration
public Style(IDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IDocument | doc |
Style(IStyle, IDocument)
Declaration
protected Style(IStyle style, IDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IStyle | style | |
IDocument | doc |
Fields
m_baseStyle
Declaration
protected IStyle m_baseStyle
Field Value
Type |
---|
IStyle |
m_baseStyleName
Declaration
protected string m_baseStyleName
Field Value
Type |
---|
System.String |
Properties
Name
Gets / sets style name
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Methods
Clone(IDocument)
Clones itself
Declaration
public abstract IStyle Clone(IDocument document)
Parameters
Type | Name | Description |
---|---|---|
IDocument | document |
Returns
Type |
---|
IStyle |
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer |