diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index 7b78e50e3..5f6fe7f14 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -20,12 +20,6 @@ <Micro:Parameter Value="$eventArgs" />
</Micro:ActionMessage>
</i:EventTrigger>
-
- <i:EventTrigger EventName="Closing">
- <Micro:ActionMessage MethodName="HandleWindowClosing">
- <Micro:Parameter Value="$eventArgs" />
- </Micro:ActionMessage>
- </i:EventTrigger>
</i:Interaction.Triggers>
<UserControl.Resources>
@@ -48,19 +42,6 @@ </CollectionViewSource.GroupDescriptions>
</CollectionViewSource>
- <DataTemplate x:Key="presetsTemplate">
- <StackPanel>
- <TextBlock Text="{Binding Path=Name}" />
- </StackPanel>
- </DataTemplate>
-
- <HierarchicalDataTemplate x:Key="presetsCategoryTemplate"
- ItemsSource="{Binding Path=Items}"
- ItemTemplate="{StaticResource presetsTemplate}"
- >
- <TextBlock FontWeight="Bold" Text="{Binding Path=Name}" />
- </HierarchicalDataTemplate>
-
<Style TargetType="ListBoxItem">
<Setter Property="Padding" Value="0,2,0,2" />
<Style.Triggers>
@@ -181,17 +162,6 @@ <Setter Property="Icon" Value="{Binding Image}" />
</Style>
</MenuItem.ItemContainerStyle>
- <!--<HierarchicalDataTemplate DataType="{x:Type Model:SourceMenuItem}"
- ItemsSource="{Binding Path=Children}">
- <HierarchicalDataTemplate.ItemContainerStyle>
- <Style TargetType="MenuItem">
- <Setter Property="Command" Value="{Binding Command}" />
- <Setter Property="Icon" Value="{Binding Image}" />
- </Style>
- </HierarchicalDataTemplate.ItemContainerStyle>
- <TextBlock Text="{Binding Text}" />
- </HierarchicalDataTemplate>-->
-
</MenuItem>
</Menu>
|