TXTextControl.InputFormat.TopFrameLine Property

Gets or sets a value specifying whether there is a frame line at the top of the text. If text is selected, the property specifies this attribute for the whole selected text.

Syntax

[C#]
public bool TopFrameLine { get; set; }
[Visual Basic]
Public Property TopFrameLine() Boolean

Example

The following XAML example shows how to bind the TopFrameLine property to a checkable menu item.

<MenuItem
   IsCheckable="True"
   Header="Top Frame Line"
   IsChecked="{Binding ElementName=textControl1, Path=InputFormat.TopFrameLine}" />

See Also