WinForms

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

    Show / Hide Table of Contents

    Class CellFormat

    Represents Cell Formatting.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    FormatBase
    CellFormat
    TableFormat
    Implements
    IEntityBase
    IXDLSSerializable
    Inherited Members
    FormatBase.m_keysOffset
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.HasKey(Int32)
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetFullKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.IsDefault
    FormatBase.PropertiesHash
    FormatBase.Item[Int32]
    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.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    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 class CellFormat : FormatBase, IEntityBase, IXDLSSerializable

    Constructors

    CellFormat()

    Default constructor.

    Declaration
    public CellFormat()

    Properties

    BackColor

    Gets/sets background color.

    Declaration
    public Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Borders

    Gets borders.

    Declaration
    public Borders Borders { get; }
    Property Value
    Type Description
    Borders

    HorizontalMerge

    Gets / sets the way of horizontal merging of the cell.

    Declaration
    public CellMerge HorizontalMerge { get; set; }
    Property Value
    Type Description
    CellMerge

    Paddings

    Gets paddings.

    Declaration
    public Paddings Paddings { get; }
    Property Value
    Type Description
    Paddings

    TextWrap

    Gets or sets a value indicating whether [text wrap].

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

    true if [text wrap]; otherwise, false.

    VerticalAlignment

    Gets/sets vertical alignment.

    Declaration
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    VerticalAlignment

    VerticalMerge

    Gets / sets the way of vertical merging of the cell.

    Declaration
    public CellMerge VerticalMerge { get; set; }
    Property Value
    Type Description
    CellMerge

    Methods

    EnsureComposites()

    Declaration
    protected override void EnsureComposites()
    Overrides
    FormatBase.EnsureComposites()

    GetDefComposite(Int32)

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

    GetDefValue(Int32)

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

    InitXDLSHolder()

    Declaration
    protected override void InitXDLSHolder()
    Overrides
    XDLSSerializableBase.InitXDLSHolder()

    ReadXmlAttributes(IXDLSAttributeReader)

    Declaration
    protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
    Parameters
    Type Name Description
    IXDLSAttributeReader reader
    Overrides
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)

    WriteXmlAttributes(IXDLSAttributeWriter)

    Declaration
    protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
    Parameters
    Type Name Description
    IXDLSAttributeWriter writer
    Overrides
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)

    Implements

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