Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Paddings

    Show / Hide Table of Contents

    Class Paddings

    Represents the cell paddings.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    FormatBase
    Paddings
    Implements
    IXDLSSerializable
    Inherited Members
    FormatBase.m_propertiesHash
    FormatBase.m_oldPropertiesHash
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.HasKey(Int32)
    FormatBase.HasBoolKey(Int32)
    FormatBase.ClearFormatting()
    FormatBase.GetDefComposite(Int32)
    FormatBase.EnsureComposites()
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetFullKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.Item[Int32]
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.CloneImpl()
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    OwnerHolder.m_doc
    OwnerHolder.Document
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.dll
    Syntax
    public class Paddings : FormatBase, IXDLSSerializable

    Fields

    BottomKey

    Specifies the constant value for bottom key.

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

    LeftKey

    Specifies the constant value for left key.

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

    RightKey

    Specifies the constant value for right key.

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

    TopKey

    Specifies the constant value for top key.

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

    Properties

    All

    Sets the padding values for all sides of the cell.

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

    The float that specifies the padding value for left, right, top and bottom.

    Bottom

    Gets or sets the bottom padding value for the cell in points.

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

    The float that specifies bottom padding value.

    Left

    Gets or sets the left padding value for the cell in points.

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

    The float that specifies left padding value.

    Right

    Gets or sets the right padding value for the cell in points.

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

    The float that specifies right padding value.

    Top

    Gets or sets the top padding value for the cell in points.

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

    The float that specifies top padding value.

    Methods

    GetDefValue(Int32)

    Returns the default values.

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

    The integer that specifies the key.

    Returns
    Type Description
    System.Object

    An object that specifies the default value.

    Overrides
    FormatBase.GetDefValue(Int32)

    InitXDLSHolder()

    Registers child objects in XDSL holder.

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

    OnChange(FormatBase, Int32)

    Occurs on format change.

    Declaration
    protected override void OnChange(FormatBase format, int propertyKey)
    Parameters
    Type Name Description
    FormatBase format

    The FormatBase object.

    System.Int32 propertyKey

    The integer that represents the property key.

    Overrides
    FormatBase.OnChange(FormatBase, Int32)

    ReadXmlAttributes(IXDLSAttributeReader)

    Reads object data from xml attributes.

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

    The IXDLSAttributeReader object.

    Overrides
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)

    WriteXmlAttributes(IXDLSAttributeWriter)

    Writes object data as xml attributes.

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

    The IXDLSAttributeWriter object.

    Overrides
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)

    Implements

    IXDLSSerializable

    See Also

    CellFormat
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved