WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FormatBase - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FormatBase

    Represents Base Formatting.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    FormatBase
    Border
    Borders
    CellFormat
    CharacterFormat
    FillData
    LineData
    ListFormat
    Paddings
    ParagraphFormat
    ShapeFormat
    TextBoxFormat
    Implements
    IEntityBase
    IXDLSSerializable
    Inherited Members
    XDLSSerializableBase.m_id
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.InitXDLSHolder()
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    EntityBase.SetOwner(IEntityBase)
    EntityBase.Owner
    EntityBase.Document
    EntityBase.DocumentEx
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public abstract class FormatBase : XDLSSerializableBase, IEntityBase, IXDLSSerializable

    Constructors

    FormatBase()

    Creates first level "format".

    Declaration
    public FormatBase()

    FormatBase(FormatBase, Int32)

    Creates child "format" ( composite property ).

    Declaration
    public FormatBase(FormatBase parent, int parentKey)
    Parameters
    Type Name Description
    FormatBase parent
    System.Int32 parentKey

    FormatBase(FormatBase, Int32, Int32)

    Initializing constructor.

    Declaration
    public FormatBase(FormatBase parent, int parentKey, int parentOffset)
    Parameters
    Type Name Description
    FormatBase parent
    System.Int32 parentKey
    System.Int32 parentOffset

    FormatBase(IDocument)

    Creates first level "format".

    Declaration
    public FormatBase(IDocument doc)
    Parameters
    Type Name Description
    IDocument doc

    Fields

    m_keysOffset

    Declaration
    protected int m_keysOffset
    Field Value
    Type Description
    System.Int32

    Properties

    IsDefault

    Gets / sets whether format is default.

    Declaration
    public bool IsDefault { get; set; }
    Property Value
    Type Description
    System.Boolean

    Item[Int32]

    Declaration
    protected object this[int key] { get; set; }
    Parameters
    Type Name Description
    System.Int32 key
    Property Value
    Type Description
    System.Object

    PropertiesHash

    Declaration
    public HybridDictionary PropertiesHash { get; }
    Property Value
    Type Description
    System.Collections.Specialized.HybridDictionary

    Methods

    EnsureComposites()

    Declaration
    protected virtual void EnsureComposites()

    EnsureComposites(Int32[])

    Declaration
    protected void EnsureComposites(params int[] keys)
    Parameters
    Type Name Description
    System.Int32[] keys

    GetBaseKey(Int32)

    Declaration
    protected int GetBaseKey(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    System.Int32

    GetDefComposite(Int32)

    Declaration
    protected virtual FormatBase GetDefComposite(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    FormatBase

    GetDefComposite(Int32, FormatBase)

    Declaration
    protected FormatBase GetDefComposite(int key, FormatBase value)
    Parameters
    Type Name Description
    System.Int32 key
    FormatBase value
    Returns
    Type Description
    FormatBase

    GetDefValue(Int32)

    Declaration
    protected abstract object GetDefValue(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    System.Object

    GetFullKey(Int32)

    Declaration
    protected int GetFullKey(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    System.Int32

    HasKey(Int32)

    Checks if Key exists.

    Declaration
    public bool HasKey(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    System.Boolean

    ImportContainer(FormatBase)

    Declaration
    protected void ImportContainer(FormatBase format)
    Parameters
    Type Name Description
    FormatBase format

    ImportMembers(FormatBase)

    Declaration
    protected virtual void ImportMembers(FormatBase format)
    Parameters
    Type Name Description
    FormatBase format

    Implements

    IEntityBase
    IXDLSSerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved