menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Paddings - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Paddings

    Represents cell padding.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    FormatBase
    Paddings
    Implements
    IEntityBase
    IXDLSSerializable
    Inherited Members
    EntityBase.Document
    EntityBase.DocumentEx
    EntityBase.Owner
    EntityBase.SetOwner(IEntityBase)
    FormatBase.EnsureComposites()
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetDefComposite(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 Paddings : FormatBase, IEntityBase, IXDLSSerializable

    Fields

    BottomKey

    Declaration
    public const int BottomKey = 3
    Field Value
    Type
    System.Int32

    LeftKey

    Declaration
    public const int LeftKey = 1
    Field Value
    Type
    System.Int32

    RightKey

    Declaration
    public const int RightKey = 4
    Field Value
    Type
    System.Int32

    TopKey

    Declaration
    public const int TopKey = 2
    Field Value
    Type
    System.Int32

    Properties

    All

    Sets all paddings.

    Declaration
    public float All { set; }
    Property Value
    Type
    System.Single

    Bottom

    Gets/ sets bottom padding.

    Declaration
    public float Bottom { get; set; }
    Property Value
    Type
    System.Single

    Left

    Gets/ sets left padding.

    Declaration
    public float Left { get; set; }
    Property Value
    Type
    System.Single

    Right

    Gets/ sets right padding.

    Declaration
    public float Right { get; set; }
    Property Value
    Type
    System.Single

    Top

    Gets/ sets top padding.

    Declaration
    public float Top { get; set; }
    Property Value
    Type
    System.Single

    Methods

    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