menu

WinForms

  • Code Examples
  • 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
    EntityBase.Document
    EntityBase.DocumentEx
    EntityBase.Owner
    EntityBase.SetOwner(IEntityBase)
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.GetFullKey(Int32)
    FormatBase.HasKey(Int32)
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.IsDefault
    FormatBase.Item[Int32]
    FormatBase.m_keysOffset
    FormatBase.PropertiesHash
    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()
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.m_id
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    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
    System.Drawing.Color

    Borders

    Gets borders.

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

    HorizontalMerge

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

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

    Paddings

    Gets paddings.

    Declaration
    public Paddings Paddings { get; }
    Property Value
    Type
    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
    VerticalAlignment

    VerticalMerge

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

    Declaration
    public CellMerge VerticalMerge { get; set; }
    Property Value
    Type
    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
    FormatBase
    Overrides
    FormatBase.GetDefComposite(Int32)

    GetDefValue(Int32)

    Declaration
    protected override object GetDefValue(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type
    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 - 2025 Syncfusion Inc. All Rights Reserved