Class LevelOverrideAdv
Represents the LevelOverrideAdv class.
Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
Syntax
public class LevelOverrideAdv : BaseNode
Constructors
LevelOverrideAdv()
Initializes a new instance of the LevelOverrideAdv class.
Declaration
public LevelOverrideAdv()
LevelOverrideAdv(ListAdv)
Initializes a new instance of the LevelOverrideAdv class for the specified ListAdv.
Declaration
public LevelOverrideAdv(ListAdv listAdv)
Parameters
Type | Name | Description |
---|---|---|
ListAdv | listAdv | The ListAdv associated with the LevelOverrideAdv. |
Fields
LevelNumberProperty
Identifies the LevelNumber dependency property.
Declaration
public static readonly DependencyProperty LevelNumberProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty | The identifier for the LevelNumber dependency property. |
OverrideListLevelProperty
Identifies the OverrideListLevel dependency property.
Declaration
public static readonly DependencyProperty OverrideListLevelProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty | The identifier for the OverrideListLevel dependency property. |
StartAtProperty
Identifies the StartAt dependency property.
Declaration
public static readonly DependencyProperty StartAtProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty | The identifier for the StartAt dependency property. |
Properties
LevelNumber
Gets or sets the level number of the ListLevelAdv to override.
Declaration
public int LevelNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The level number of the ListLevelAdv to override. |
Examples
The following sample code demonstrates how to define a start at level override for a list.
<RichTextBoxAdv:LevelOverrideAdv LevelNumber="0" StartAt="3" />
LevelOverrideAdv levelOverrideAdv = new LevelOverrideAdv();
levelOverrideAdv.LevelNumber = 0;
levelOverrideAdv.StartAt = 3;
Dim levelOverrideAdv As New LevelOverrideAdv()
levelOverrideAdv.LevelNumber = 0
levelOverrideAdv.StartAt = 3
OverrideListLevel
Gets or sets the ListLevelAdv to override.
Declaration
public ListLevelAdv OverrideListLevel { get; set; }
Property Value
Type | Description |
---|---|
ListLevelAdv | The ListLevelAdv to override. |
Examples
The following sample code demonstrates how to define a start at level override for a list.
<RichTextBoxAdv:LevelOverrideAdv LevelNumber="0" >
<RichTextBoxAdv:LevelOverrideAdv.OverrideListLevel>
<RichTextBoxAdv:ListLevelAdv ListLevelPattern="LowRoman" NumberFormat="%1)" StartAt="2" FollowCharacter="Tab">
<RichTextBoxAdv:ListLevelAdv.ParagraphFormat>
<RichTextBoxAdv:ParagraphFormat LeftIndent="48" FirstLineIndent="-24" />
</RichTextBoxAdv:ListLevelAdv.ParagraphFormat>
</RichTextBoxAdv:ListLevelAdv>
</RichTextBoxAdv:LevelOverrideAdv.OverrideListLevel>
</RichTextBoxAdv:LevelOverrideAdv>
LevelOverrideAdv levelOverrideAdv = new LevelOverrideAdv();
levelOverrideAdv.LevelNumber = 0;
levelOverrideAdv.StartAt = 3;
Dim levelOverrideAdv As New LevelOverrideAdv()
levelOverrideAdv.LevelNumber = 0
levelOverrideAdv.StartAt = 3
OwnerList
Gets the owner ListAdv of the LevelOverrideAdv.
Declaration
public ListAdv OwnerList { get; }
Property Value
Type | Description |
---|---|
ListAdv | The owner ListAdv of the LevelOverrideAdv. |
StartAt
Gets or sets the value from which the overriden ListLevelAdv should start at.
Declaration
public int StartAt { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The value from which the overriden ListLevelAdv should start at. |
Examples
The following sample code demonstrates how to define a start at level override for a list.
<RichTextBoxAdv:LevelOverrideAdv LevelNumber="0" StartAt="3" />
LevelOverrideAdv levelOverrideAdv = new LevelOverrideAdv();
levelOverrideAdv.LevelNumber = 0;
levelOverrideAdv.StartAt = 3;
Dim levelOverrideAdv As New LevelOverrideAdv()
levelOverrideAdv.LevelNumber = 0
levelOverrideAdv.StartAt = 3
Methods
Dispose()
Releases all resources used by the LevelOverrideAdv instance.
Declaration
public void Dispose()