Remarks
The property's default value is Number
The property returns Number
Gets or sets the number format for a structured list at the current input position. If text is selected, the property specifies this attribute for the whole selected text. This property determines the number format for the Structured
public NumberFormat StructuredListFormat { get; set; }
Public Property StructuredListFormat() As NumberFormat
Member | Description |
---|---|
Arabic |
The list is numbered with Arabic numbers (1, 2, 3...). |
Letters | The list is numbered with letters (a, b, c...). |
Capital |
The list is numbered with capital letters (A, B, C...). |
Roman |
The list is numbered with Roman numbers (I, II, III...). |
Small |
The list is numbered with small Roman numbers (i, ii, iii...). |
The following XAML example shows how to bind radio buttons to the Structured
?
xmlns:tx="clr-namespace:TXTextControl.WPF;assembly=TXTextControl.WPF"
?
<Window.Resources>
<tx:BooleanConverter x:Key="boolConv" />
</Window.Resources>
?
<RadioButton
Content="{Binding ElementName=textControl1, Path=InputFormat.NumberFormats[0], Mode=OneTime}"
GroupName="structuredListFormat"
IsChecked="{Binding
ElementName=textControl1,
Path=InputFormat.StructuredListFormat,
Converter={StaticResource boolConv},
ConverterParameter=ArabicNumbers}" />
<RadioButton
Content="{Binding ElementName=textControl1, Path=InputFormat.NumberFormats[1], Mode=OneTime}"
GroupName="structuredListFormat"
IsChecked="{Binding
ElementName=textControl1,
Path=InputFormat.StructuredListFormat,
Converter={StaticResource boolConv},
ConverterParameter=Letters}" />
?
The property's default value is Number
The property returns Number