alexa
menu

UWP

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

    Show / Hide Table of Contents

    Class Paddings

    Represents the cell paddings.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    FormatBase
    Paddings
    Implements
    IXDLSSerializable
    Inherited Members
    FormatBase.BaseLineAlignmentAuto
    FormatBase.BorderStyleNone
    FormatBase.BreakClearNone
    FormatBase.ByteMax
    FormatBase.CellMergeNone
    FormatBase.ChapterPageSeparatorTypeHyphen
    FormatBase.ClearFormatting()
    FormatBase.DefFontSizeSingle
    FormatBase.DefScalingSizeSingle
    FormatBase.DocTextDirectionLeftToRight
    FormatBase.DropCapNone
    FormatBase.EighteenSingle
    FormatBase.EmphasisNone
    FormatBase.EmptyColor
    FormatBase.EmptyString
    FormatBase.EndnotePosEndOfDoc
    FormatBase.EndnoteRestartDoNot
    FormatBase.EnsureComposites()
    FormatBase.EnsureComposites(Int32[])
    FormatBase.False
    FormatBase.FontHintDefault
    FormatBase.FootEndNoteNumberFormatArabic
    FormatBase.FootEndNoteNumberFormatLowerCaseRoman
    FormatBase.FootnotePosBottomOfPage
    FormatBase.FrameWrapAuto
    FormatBase.FtsWidthNone
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetDefComposite(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.GetFullKey(Int32)
    FormatBase.GridPitchNoGrid
    FormatBase.HasBoolKey(Int32)
    FormatBase.HasKey(Int32)
    FormatBase.HeadingLevelNone
    FormatBase.HorizontalAlignmentLeft
    FormatBase.HorizontalRelationColumn
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.IntMaxValue
    FormatBase.Item[Int32]
    FormatBase.LigatureNone
    FormatBase.LineNumberingNone
    FormatBase.LineSpacingRuleMultiple
    FormatBase.ListTypeNoList
    FormatBase.m_oldPropertiesHash
    FormatBase.m_propertiesHash
    FormatBase.MinDateTime
    FormatBase.MinusOneSingle
    FormatBase.NumberFormDefault
    FormatBase.NumberSpacingDefault
    FormatBase.OneInt
    FormatBase.OneShort
    FormatBase.PageAlignTop
    FormatBase.PageBorderOffsetText
    FormatBase.PageBordersApplyAll
    FormatBase.PageNumberStyleArabic
    FormatBase.PageOrientPortrait
    FormatBase.RowAlignmentCenter
    FormatBase.RowAlignmentLeft
    FormatBase.RowAlignmentRight
    FormatBase.SectionBreakCodeNewPage
    FormatBase.Short1025
    FormatBase.Short1033
    FormatBase.SizeFObj
    FormatBase.StylisticSetDefault
    FormatBase.SubSuperScriptNone
    FormatBase.TextDirectionHorizontal
    FormatBase.TextEffectNone
    FormatBase.TextureStyleNone
    FormatBase.TightWrapNone
    FormatBase.True
    FormatBase.TwelveSingle
    FormatBase.TwentySingle
    FormatBase.UnderlineNone
    FormatBase.VerticalAlignmentTop
    FormatBase.VerticalRelationMargin
    FormatBase.ZeroByte
    FormatBase.ZeroInt
    FormatBase.ZeroLong
    FormatBase.ZeroSingle
    OwnerHolder.Document
    OwnerHolder.m_doc
    XDLSSerializableBase.CloneImpl()
    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.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.UWP.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
    System.Int32

    LeftKey

    Specifies the constant value for left key.

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

    RightKey

    Specifies the constant value for right key.

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

    TopKey

    Specifies the constant value for top key.

    Declaration
    public const int TopKey = 2
    Field Value
    Type
    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

    Extension Methods

    DateTimeExtension.ToDateTime(Object)

    See Also

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