Kategorie
This commit is contained in:
@@ -30,14 +30,14 @@
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
Style="{StaticResource ComboBoxToggleButton}" />
|
||||
|
||||
<ContentPresenter x:Name="contentPresenter"
|
||||
IsHitTestVisible="False"
|
||||
Content="{TemplateBinding SelectionBoxItem}"
|
||||
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
|
||||
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
|
||||
Margin="6 0"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Stretch" />
|
||||
<TextBlock x:Name="SelectedPathText"
|
||||
IsHitTestVisible="False"
|
||||
Text="{Binding SelectedItem.FullPath, RelativeSource={RelativeSource AncestorType={x:Type local:HierarchicalSelectionControl}}}"
|
||||
Margin="6 0"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Stretch"
|
||||
Foreground="{DynamicResource FontColor.Menu.Categories}"
|
||||
TextTrimming="CharacterEllipsis" />
|
||||
|
||||
<Popup x:Name="PART_Popup"
|
||||
Placement="Bottom"
|
||||
@@ -128,9 +128,10 @@
|
||||
BorderBrush="{Binding ElementName=HierarchySelector, Path=BorderBrush}"
|
||||
Foreground="{DynamicResource FontColor.Menu.Categories}"
|
||||
ItemsSource="{Binding VisibleItems, ElementName=HierarchySelector}"
|
||||
SelectedItem="{Binding SelectedItem, ElementName=HierarchySelector, Mode=TwoWay}"
|
||||
DisplayMemberPath="FullPath"
|
||||
Template="{StaticResource HierarchicalComboBoxTemplate}"
|
||||
SelectedIndex="-1"
|
||||
IsSynchronizedWithCurrentItem="False"
|
||||
DropDownOpened="ComboBoxControl_DropDownOpened"
|
||||
DropDownClosed="ComboBoxControl_DropDownClosed"
|
||||
IsEditable="False"
|
||||
|
||||
Reference in New Issue
Block a user