added samples
[windows-sources.git] / sdk / samples / WPFSamples / FlowDirectionLayout / csharp / window1.xaml.cs
blob243ec13ecfe91149e21dfb719e769fe08899b33f
1 using System;
2 using System.Windows;
3 using System.Windows.Controls;
4 using System.Windows.Documents;
6 namespace SDKSample
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();