diff --git a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/FlyoutDemo.xaml b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/FlyoutDemo.xaml index 29d1796573..bc4d75a32f 100644 --- a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/FlyoutDemo.xaml +++ b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleWindows/FlyoutDemo.xaml @@ -28,12 +28,13 @@ - - Always - Flyouts - HiddenTitleBar - Never - + + + + + @@ -445,7 +446,7 @@ Width="100" Margin="2" VerticalAlignment="Center" - ItemsSource="{StaticResource WindowCommandsOverlayBehaviorArray}" + ItemsSource="{Binding Source={StaticResource WindowCommandsOverlayBehaviorValues}}" SelectedValue="{Binding ElementName=flyoutsDemo, Path=LeftWindowCommandsOverlayBehavior}" /> @@ -462,7 +463,7 @@ Width="100" Margin="2" VerticalAlignment="Center" - ItemsSource="{StaticResource WindowCommandsOverlayBehaviorArray}" + ItemsSource="{Binding Source={StaticResource WindowCommandsOverlayBehaviorValues}}" SelectedValue="{Binding ElementName=flyoutsDemo, Path=RightWindowCommandsOverlayBehavior}" /> @@ -479,7 +480,7 @@ Width="100" Margin="2" VerticalAlignment="Center" - ItemsSource="{StaticResource WindowCommandsOverlayBehaviorArray}" + ItemsSource="{Binding Source={StaticResource WindowCommandsOverlayBehaviorValues}}" SelectedValue="{Binding ElementName=flyoutsDemo, Path=WindowButtonCommandsOverlayBehavior}" /> @@ -496,10 +497,12 @@ Width="100" Margin="2" VerticalAlignment="Center" - ItemsSource="{StaticResource WindowCommandsOverlayBehaviorArray}" + ItemsSource="{Binding Source={StaticResource WindowCommandsOverlayBehaviorValues}}" SelectedValue="{Binding ElementName=flyoutsDemo, Path=IconOverlayBehavior}" /> + +