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

public bool TopFrameLine { get; set; }
Public Property TopFrameLine() Boolean

Examples

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}" />