Remarks
The property returns null when the text selection contains several lists with different bullet characters.
Gets or sets the bullet character at the current input position. If text is selected, the property specifies the bullet character of the whole selected text.
public char? BulletCharacter { get; set; }
Public Property BulletCharacter() As Nullable(Of Char)
The following XAML example shows how to bind the Bullet
?
xmlns:tx="clr-namespace:TXTextControl.WPF;assembly=TXTextControl.WPF"
?
<Window.Resources>
<tx:BooleanConverter x:Key="boolConv" />
</Window.Resources>
?
<MenuItem
Header="¨"
FontFamily="Symbol"
IsCheckable="True"
IsChecked="{Binding
ElementName=textControl1,
Path=InputFormat.BulletCharacter,
Converter={StaticResource boolConv},
ConverterParameter=¨}" />
The property returns null when the text selection contains several lists with different bullet characters.