menu

UWP

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

    Show / Hide Table of Contents

    Class AbstractListAdv

    Represents an abstract list that is used for defining bullets and numbering.

    Inheritance
    System.Object
    BaseNode
    AbstractListAdv
    Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
    Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
    Syntax
    public class AbstractListAdv : BaseNode
    Examples

    The following code example demonstrates how to define an abstract list.

    <RichTextBoxAdv:AbstractListAdv AbstractListId="6">
        <RichTextBoxAdv:ListLevelAdv ListLevelPattern="Number" NumberFormat="(%1.)" StartAt="1" FollowCharacter="Tab">
            <RichTextBoxAdv:ListLevelAdv.ParagraphFormat>
                <RichTextBoxAdv:ParagraphFormat LeftIndent="48" FirstLineIndent="-24" />
            </RichTextBoxAdv:ListLevelAdv.ParagraphFormat>
        </RichTextBoxAdv:ListLevelAdv>
        <!-- Upto nine list levels can be added.-->
    </RichTextBoxAdv:AbstractListAdv>
    // Initializes an abstract list.
    AbstractListAdv abstractListAdv = new AbstractListAdv();
    // Defines the id for abstract list.
    abstractListAdv.AbstractListId = 6;
    

    // Initializes a list level. ListLevelAdv listLevel = new ListLevelAdv(abstractListAdv); listLevel.ListLevelPattern = ListLevelPattern.Number; listLevel.NumberFormat = "(%1.)"; listLevel.StartAt = 1; listLevel.FollowCharacter = FollowCharacterType.Tab; listLevel.ParagraphFormat = new ParagraphFormat(listLevel); listLevel.ParagraphFormat.LeftIndent = 48; listLevel.ParagraphFormat.FirstLineIndent = -24;

    // Adds the list level to the abstract list. Upto nine list levels can be added. abstractListAdv.Levels.Add(listLevel);

    ' Initializes an abstract list.
    Dim abstractListAdv As New AbstractListAdv()
    ' Defines the id for abstract list.
    abstractListAdv.AbstractListId = 6
    
    ' Initializes a list level.
    Dim listLevel As New ListLevelAdv(abstractListAdv)
    listLevel.ListLevelPattern = ListLevelPattern.Number
    listLevel.NumberFormat = "(%1.)"
    listLevel.StartAt = 1
    listLevel.FollowCharacter = FollowCharacterType.Tab
    listLevel.ParagraphFormat = New ParagraphFormat(listLevel)
    listLevel.ParagraphFormat.LeftIndent = 48
    listLevel.ParagraphFormat.FirstLineIndent = -24
    
    ' Adds the list level to the abstract list. Upto nine list levels can be added.
    abstractListAdv.Levels.Add(listLevel)

    Constructors

    AbstractListAdv()

    Initializes a new instance of the AbstractListAdv class.

    Declaration
    public AbstractListAdv()

    AbstractListAdv(DocumentAdv)

    Initializes a new instance of the AbstractListAdv class for the specified DocumentAdv.

    Declaration
    public AbstractListAdv(DocumentAdv documentAdv)
    Parameters
    Type Name Description
    DocumentAdv documentAdv

    The DocumentAdv to which the AbstractListAdv is associated.

    Fields

    AbstractListIdProperty

    Identifies the AbstractListId dependency property.

    Declaration
    public static readonly DependencyProperty AbstractListIdProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    The identifier for the AbstractListId dependency property.

    Properties

    AbstractListId

    Gets or sets the identifier of the AbstractListAdv.

    Declaration
    public int AbstractListId { get; set; }
    Property Value
    Type Description
    System.Int32

    The Id that uniquely identifies the AbstractListAdv in the DocumentAdv.

    Levels

    Gets or sets the ListLevelAdvCollection of the AbstractListAdv.

    Declaration
    public ListLevelAdvCollection Levels { get; }
    Property Value
    Type Description
    ListLevelAdvCollection

    The ListLevelAdvCollection for the AbstractListAdv.

    See Also
    ListLevelAdv
    ListLevelAdvCollection

    Methods

    Dispose()

    Releases all resources used by the AbstractListAdv instance.

    Declaration
    public void Dispose()

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved