3 using System
.Windows
.Controls
;
4 using System
.Windows
.Documents
;
9 public partial class Window1
: Window
11 public void LR(object sender
, RoutedEventArgs e
)
13 tf1
.FlowDirection
= FlowDirection
.LeftToRight
;
14 txt1
.Text
= "FlowDirection is now " + tf1
.FlowDirection
.ToString();
16 public void RL(object sender
, RoutedEventArgs e
)
18 tf1
.FlowDirection
= FlowDirection
.RightToLeft
;
19 txt1
.Text
= "FlowDirection is now " + tf1
.FlowDirection
.ToString();