public AttachedPropertiesLayoutPathSample() { this.InitializeComponent(); PathStoryboard.Begin(); SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; }
public LayoutPathControllerPage() { this.InitializeComponent(); SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; ChildAlignmentCb.ItemsSource = Enum.GetValues(typeof(ChildAlignment)); StretchCb.ItemsSource = Enum.GetValues(typeof(Stretch)); ItemOrientationCb.ItemsSource = Enum.GetValues(typeof(Orientations)); StartBehaviorCb.ItemsSource = Enum.GetValues(typeof(Behaviors)); EndBehaviorCb.ItemsSource = Enum.GetValues(typeof(Behaviors)); Loaded += delegate(object sender, RoutedEventArgs args) { ChildAlignmentCb.SelectedIndex = 1; ItemOrientationCb.SelectedIndex = 1; StartBehaviorCb.SelectedIndex = 0; EndBehaviorCb.SelectedIndex = 0; PathStoryboard.Begin(); }; }