mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
code_style: replace tab with 2-spaces in xaml
This commit is contained in:
parent
f92858994a
commit
879f3cd76c
1 changed files with 150 additions and 150 deletions
|
@ -88,9 +88,9 @@
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<MenuFlyout Placement="Bottom">
|
<MenuFlyout Placement="Bottom">
|
||||||
<MenuItem Header="{DynamicResource Text.Copy}"
|
<MenuItem Header="{DynamicResource Text.Copy}"
|
||||||
Command="{Binding $parent[SelectableTextBlock].Copy}"
|
Command="{Binding $parent[SelectableTextBlock].Copy}"
|
||||||
IsEnabled="{Binding $parent[SelectableTextBlock].CanCopy}"
|
IsEnabled="{Binding $parent[SelectableTextBlock].CanCopy}"
|
||||||
InputGesture="{x:Static TextBox.CopyGesture}">
|
InputGesture="{x:Static TextBox.CopyGesture}">
|
||||||
<MenuItem.Icon>
|
<MenuItem.Icon>
|
||||||
<Path Width="11" Height="11" Data="{StaticResource Icons.Copy}" VerticalAlignment="Center"/>
|
<Path Width="11" Height="11" Data="{StaticResource Icons.Copy}" VerticalAlignment="Center"/>
|
||||||
</MenuItem.Icon>
|
</MenuItem.Icon>
|
||||||
|
@ -487,21 +487,21 @@
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Grid>
|
<Grid>
|
||||||
<ContentPresenter Name="PART_ContentPresenter"
|
<ContentPresenter Name="PART_ContentPresenter"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
ContentTemplate="{TemplateBinding ContentTemplate}"
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
Content="{TemplateBinding Content}"
|
Content="{TemplateBinding Content}"
|
||||||
Padding="{TemplateBinding Padding}"
|
Padding="{TemplateBinding Padding}"
|
||||||
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" />
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" />
|
||||||
|
|
||||||
<Border Background="{DynamicResource Brush.FG2}"
|
<Border Background="{DynamicResource Brush.FG2}"
|
||||||
Width="4"
|
Width="4"
|
||||||
HorizontalAlignment="Left" VerticalAlignment="Stretch"
|
HorizontalAlignment="Left" VerticalAlignment="Stretch"
|
||||||
IsHitTestVisible="False"
|
IsHitTestVisible="False"
|
||||||
IsVisible="{TemplateBinding IsSelected}"/>
|
IsVisible="{TemplateBinding IsSelected}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
@ -529,16 +529,16 @@
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border BorderThickness="0"
|
<Border BorderThickness="0"
|
||||||
Margin="8,4"
|
Margin="8,4"
|
||||||
MaxWidth="{TemplateBinding MaxWidth}"
|
MaxWidth="{TemplateBinding MaxWidth}"
|
||||||
MinHeight="{TemplateBinding MinHeight}"
|
MinHeight="{TemplateBinding MinHeight}"
|
||||||
HorizontalAlignment="{TemplateBinding HorizontalAlignment}">
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}">
|
||||||
<ScrollViewer Theme="{StaticResource FluentMenuScrollViewer}">
|
<ScrollViewer Theme="{StaticResource FluentMenuScrollViewer}">
|
||||||
<ItemsPresenter Name="PART_ItemsPresenter"
|
<ItemsPresenter Name="PART_ItemsPresenter"
|
||||||
ItemsPanel="{TemplateBinding ItemsPanel}"
|
ItemsPanel="{TemplateBinding ItemsPanel}"
|
||||||
Margin="{DynamicResource MenuFlyoutScrollerMargin}"
|
Margin="{DynamicResource MenuFlyoutScrollerMargin}"
|
||||||
KeyboardNavigation.TabNavigation="Continue"
|
KeyboardNavigation.TabNavigation="Continue"
|
||||||
Grid.IsSharedSizeScope="True" />
|
Grid.IsSharedSizeScope="True" />
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -557,20 +557,20 @@
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border Name="LayoutRoot"
|
<Border Name="LayoutRoot"
|
||||||
Margin="4"
|
Margin="4"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
Padding="4,2"
|
Padding="4,2"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<ScrollViewer HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
<ScrollViewer HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
||||||
Theme="{StaticResource FluentMenuScrollViewer}"
|
Theme="{StaticResource FluentMenuScrollViewer}"
|
||||||
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}">
|
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}">
|
||||||
<ItemsPresenter Name="PART_ItemsPresenter"
|
<ItemsPresenter Name="PART_ItemsPresenter"
|
||||||
ItemsPanel="{TemplateBinding ItemsPanel}"
|
ItemsPanel="{TemplateBinding ItemsPanel}"
|
||||||
Margin="{DynamicResource MenuFlyoutScrollerMargin}"
|
Margin="{DynamicResource MenuFlyoutScrollerMargin}"
|
||||||
KeyboardNavigation.TabNavigation="Continue"
|
KeyboardNavigation.TabNavigation="Continue"
|
||||||
Grid.IsSharedSizeScope="True" />
|
Grid.IsSharedSizeScope="True" />
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -581,18 +581,18 @@
|
||||||
<Style Selector="MenuItem">
|
<Style Selector="MenuItem">
|
||||||
<Style.Resources>
|
<Style.Resources>
|
||||||
<ControlTheme x:Key="{x:Type MenuItem}" TargetType="MenuItem">
|
<ControlTheme x:Key="{x:Type MenuItem}" TargetType="MenuItem">
|
||||||
<Setter Property="Height" Value="26"/>
|
<Setter Property="Height" Value="28"/>
|
||||||
<Setter Property="Background" Value="Transparent" />
|
<Setter Property="Background" Value="Transparent" />
|
||||||
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}" />
|
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}" />
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Panel>
|
<Panel>
|
||||||
<Border Name="PART_LayoutRoot"
|
<Border Name="PART_LayoutRoot"
|
||||||
Padding="0,0,4,0"
|
Padding="0,0,4,0"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="3">
|
CornerRadius="3">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto" SharedSizeGroup="MenuItemIcon" />
|
<ColumnDefinition Width="Auto" SharedSizeGroup="MenuItemIcon" />
|
||||||
|
@ -603,44 +603,44 @@
|
||||||
|
|
||||||
<Border Grid.Column="0" Width="28">
|
<Border Grid.Column="0" Width="28">
|
||||||
<ContentControl x:Name="PART_IconPresenter"
|
<ContentControl x:Name="PART_IconPresenter"
|
||||||
Content="{TemplateBinding Icon}"
|
Content="{TemplateBinding Icon}"
|
||||||
IsVisible="False"
|
IsVisible="False"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center"/>
|
VerticalAlignment="Center"/>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<ContentPresenter Grid.Column="1"
|
<ContentPresenter Grid.Column="1"
|
||||||
Name="PART_HeaderPresenter"
|
Name="PART_HeaderPresenter"
|
||||||
Content="{TemplateBinding Header}"
|
Content="{TemplateBinding Header}"
|
||||||
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
RecognizesAccessKey="True"/>
|
RecognizesAccessKey="True"/>
|
||||||
<TextBlock x:Name="PART_InputGestureText"
|
<TextBlock x:Name="PART_InputGestureText"
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
Classes="CaptionTextBlockStyle"
|
Classes="CaptionTextBlockStyle"
|
||||||
Margin="{DynamicResource MenuInputGestureTextMargin}"
|
Margin="{DynamicResource MenuInputGestureTextMargin}"
|
||||||
Text="{TemplateBinding InputGesture, Converter={StaticResource KeyGestureConverter}}"
|
Text="{TemplateBinding InputGesture, Converter={StaticResource KeyGestureConverter}}"
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Foreground="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForeground}"
|
Foreground="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForeground}"
|
||||||
FontSize="11"/>
|
FontSize="11"/>
|
||||||
<Path Name="PART_ChevronPath"
|
<Path Name="PART_ChevronPath"
|
||||||
Width="6"
|
Width="6"
|
||||||
Data="M 0 0 L 0 7 L 4 3.5 Z"
|
Data="M 0 0 L 0 7 L 4 3.5 Z"
|
||||||
Fill="{DynamicResource MenuFlyoutSubItemChevron}"
|
Fill="{DynamicResource MenuFlyoutSubItemChevron}"
|
||||||
Margin="8,0,0,0"
|
Margin="8,0,0,0"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Grid.Column="3" />
|
Grid.Column="3" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
<Popup Name="PART_Popup"
|
<Popup Name="PART_Popup"
|
||||||
WindowManagerAddShadowHint="False"
|
WindowManagerAddShadowHint="False"
|
||||||
Placement="RightEdgeAlignedTop"
|
Placement="RightEdgeAlignedTop"
|
||||||
IsLightDismissEnabled="False"
|
IsLightDismissEnabled="False"
|
||||||
HorizontalOffset="-4"
|
HorizontalOffset="-4"
|
||||||
VerticalOffset="-4"
|
VerticalOffset="-4"
|
||||||
IsOpen="{TemplateBinding IsSubMenuOpen, Mode=TwoWay}">
|
IsOpen="{TemplateBinding IsSubMenuOpen, Mode=TwoWay}">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Border Background="{DynamicResource Brush.Popup}" Margin="4" CornerRadius="{DynamicResource OverlayCornerRadius}">
|
<Border Background="{DynamicResource Brush.Popup}" Margin="4" CornerRadius="{DynamicResource OverlayCornerRadius}">
|
||||||
<Border.Effect>
|
<Border.Effect>
|
||||||
|
@ -649,16 +649,16 @@
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Border BorderThickness="0"
|
<Border BorderThickness="0"
|
||||||
Margin="8,4"
|
Margin="8,4"
|
||||||
MaxWidth="{DynamicResource FlyoutThemeMaxWidth}"
|
MaxWidth="{DynamicResource FlyoutThemeMaxWidth}"
|
||||||
MinHeight="{DynamicResource MenuFlyoutThemeMinHeight}"
|
MinHeight="{DynamicResource MenuFlyoutThemeMinHeight}"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
CornerRadius="{DynamicResource OverlayCornerRadius}">
|
CornerRadius="{DynamicResource OverlayCornerRadius}">
|
||||||
<ScrollViewer Theme="{StaticResource FluentMenuScrollViewer}">
|
<ScrollViewer Theme="{StaticResource FluentMenuScrollViewer}">
|
||||||
<ItemsPresenter Name="PART_ItemsPresenter"
|
<ItemsPresenter Name="PART_ItemsPresenter"
|
||||||
ItemsPanel="{TemplateBinding ItemsPanel}"
|
ItemsPanel="{TemplateBinding ItemsPanel}"
|
||||||
Margin="{DynamicResource MenuFlyoutScrollerMargin}"
|
Margin="{DynamicResource MenuFlyoutScrollerMargin}"
|
||||||
Grid.IsSharedSizeScope="True" />
|
Grid.IsSharedSizeScope="True" />
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -834,26 +834,26 @@
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Grid ColumnDefinitions="Auto,*">
|
<Grid ColumnDefinitions="Auto,*">
|
||||||
<Path Grid.Column="0"
|
<Path Grid.Column="0"
|
||||||
x:Name="PART_IndicatorIcon"
|
x:Name="PART_IndicatorIcon"
|
||||||
Margin="4,0,0,0"
|
Margin="4,0,0,0"
|
||||||
Width="10"
|
Width="10"
|
||||||
Data="{StaticResource Icons.Down}"
|
Data="{StaticResource Icons.Down}"
|
||||||
Fill="{DynamicResource Brush.FG2}"
|
Fill="{DynamicResource Brush.FG2}"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
RenderTransformOrigin="50%,50%"
|
RenderTransformOrigin="50%,50%"
|
||||||
RenderTransform="rotate(270deg)"/>
|
RenderTransform="rotate(270deg)"/>
|
||||||
<ContentPresenter Grid.Column="1"
|
<ContentPresenter Grid.Column="1"
|
||||||
x:Name="PART_ContentPresenter"
|
x:Name="PART_ContentPresenter"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
Content="{TemplateBinding Content}"
|
Content="{TemplateBinding Content}"
|
||||||
ContentTemplate="{TemplateBinding ContentTemplate}"
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
RecognizesAccessKey="True"
|
RecognizesAccessKey="True"
|
||||||
HorizontalContentAlignment="Stretch"
|
HorizontalContentAlignment="Stretch"
|
||||||
VerticalContentAlignment="Stretch" />
|
VerticalContentAlignment="Stretch" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
@ -880,13 +880,13 @@
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Path Grid.Column="0"
|
<Path Grid.Column="0"
|
||||||
x:Name="PART_IndicatorIcon"
|
x:Name="PART_IndicatorIcon"
|
||||||
Width="12"
|
Width="12"
|
||||||
Data="{StaticResource Icons.Filter}"
|
Data="{StaticResource Icons.Filter}"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
StrokeThickness="1"
|
StrokeThickness="1"
|
||||||
Stroke="{DynamicResource Brush.FG2}"
|
Stroke="{DynamicResource Brush.FG2}"
|
||||||
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
|
@ -906,15 +906,15 @@
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Border Background="Transparent"
|
<Border Background="Transparent"
|
||||||
Width="{TemplateBinding Width}"
|
Width="{TemplateBinding Width}"
|
||||||
Height="{TemplateBinding Height}"
|
Height="{TemplateBinding Height}"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center">
|
VerticalAlignment="Center">
|
||||||
<Path x:Name="ChevronPath"
|
<Path x:Name="ChevronPath"
|
||||||
Data="M 4 0 L 8 4 L 4 8 Z"
|
Data="M 4 0 L 8 4 L 4 8 Z"
|
||||||
Fill="{DynamicResource TreeViewItemForeground}"
|
Fill="{DynamicResource TreeViewItemForeground}"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center"/>
|
VerticalAlignment="Center"/>
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
@ -933,11 +933,11 @@
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Border Background="Transparent">
|
<Border Background="Transparent">
|
||||||
<Path Grid.Column="0"
|
<Path Grid.Column="0"
|
||||||
x:Name="PART_IndicatorIcon"
|
x:Name="PART_IndicatorIcon"
|
||||||
Width="14" Height="14"
|
Width="14" Height="14"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Data="{StaticResource Icons.LayoutVertical}"
|
Data="{StaticResource Icons.LayoutVertical}"
|
||||||
Fill="{DynamicResource Brush.FG1}"
|
Fill="{DynamicResource Brush.FG1}"
|
||||||
Opacity=".8"/>
|
Opacity=".8"/>
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
@ -977,12 +977,12 @@
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<Border Background="Transparent">
|
<Border Background="Transparent">
|
||||||
<Path Grid.Column="0"
|
<Path Grid.Column="0"
|
||||||
x:Name="PART_IndicatorIcon"
|
x:Name="PART_IndicatorIcon"
|
||||||
Margin="{TemplateBinding Padding}"
|
Margin="{TemplateBinding Padding}"
|
||||||
Stretch="Fill"
|
Stretch="Fill"
|
||||||
Width="14" Height="10"
|
Width="14" Height="10"
|
||||||
Data="{StaticResource Icons.EyeClose}"
|
Data="{StaticResource Icons.EyeClose}"
|
||||||
Fill="{DynamicResource Brush.FG1}"
|
Fill="{DynamicResource Brush.FG1}"
|
||||||
Opacity=".8"/>
|
Opacity=".8"/>
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
@ -1040,36 +1040,36 @@
|
||||||
<ControlTemplate>
|
<ControlTemplate>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<Border Name="PART_LayoutRoot"
|
<Border Name="PART_LayoutRoot"
|
||||||
Classes="TreeViewItemLayoutRoot"
|
Classes="TreeViewItemLayoutRoot"
|
||||||
Focusable="True"
|
Focusable="True"
|
||||||
Background="{TemplateBinding Background}"
|
Background="{TemplateBinding Background}"
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}"
|
CornerRadius="{TemplateBinding CornerRadius}"
|
||||||
MinHeight="{TemplateBinding MinHeight}"
|
MinHeight="{TemplateBinding MinHeight}"
|
||||||
TemplatedControl.IsTemplateFocusTarget="True">
|
TemplatedControl.IsTemplateFocusTarget="True">
|
||||||
<Grid Name="PART_Header" ColumnDefinitions="16,*" Margin="{TemplateBinding Level, Mode=OneWay, Converter={StaticResource TreeViewItemLeftMarginConverter}}">
|
<Grid Name="PART_Header" ColumnDefinitions="16,*" Margin="{TemplateBinding Level, Mode=OneWay, Converter={StaticResource TreeViewItemLeftMarginConverter}}">
|
||||||
<Panel Name="PART_ExpandCollapseChevronContainer">
|
<Panel Name="PART_ExpandCollapseChevronContainer">
|
||||||
<ToggleButton Name="PART_ExpandCollapseChevron"
|
<ToggleButton Name="PART_ExpandCollapseChevron"
|
||||||
Classes="tree_expander"
|
Classes="tree_expander"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" />
|
IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" />
|
||||||
</Panel>
|
</Panel>
|
||||||
<ContentPresenter Name="PART_HeaderPresenter"
|
<ContentPresenter Name="PART_HeaderPresenter"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Content="{TemplateBinding Header}"
|
Content="{TemplateBinding Header}"
|
||||||
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
||||||
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
||||||
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
||||||
Margin="{TemplateBinding Padding}" />
|
Margin="{TemplateBinding Padding}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
<ItemsPresenter Name="PART_ItemsPresenter"
|
<ItemsPresenter Name="PART_ItemsPresenter"
|
||||||
IsVisible="{TemplateBinding IsExpanded}"
|
IsVisible="{TemplateBinding IsExpanded}"
|
||||||
ItemsPanel="{TemplateBinding ItemsPanel}" />
|
ItemsPanel="{TemplateBinding ItemsPanel}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
|
Loading…
Reference in a new issue