Skip to content

Commit 4d16b69

Browse files
authored
Added Exlusive selection listBox
1 parent 94b4cc9 commit 4d16b69

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

MainDemo.Wpf/MenusAndToolBars.xaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,28 @@
7676
</ListBoxItem>
7777
</ListBox>
7878
<Separator/>
79+
<ListBox Style="{StaticResource MaterialDesignToolToggleFlatListBox}" SelectedIndex="0">
80+
<ListBox.ToolTip>
81+
<StackPanel>
82+
<TextBlock Text="MaterialDesignToolToggleFlatListBox" />
83+
<TextBlock Text="Exclusive selection" />
84+
<TextBlock Text="ListBoxAssist.IsToggle allows more natural toggle behaviour" />
85+
</StackPanel>
86+
</ListBox.ToolTip>
87+
<ListBoxItem >
88+
<materialDesign:PackIcon Kind="FormatAlignLeft"/>
89+
</ListBoxItem>
90+
<ListBoxItem>
91+
<materialDesign:PackIcon Kind="FormatAlignCenter"/>
92+
</ListBoxItem>
93+
<ListBoxItem>
94+
<materialDesign:PackIcon Kind="FormatAlignRight"/>
95+
</ListBoxItem>
96+
<ListBoxItem>
97+
<materialDesign:PackIcon Kind="FormatAlignJustify"/>
98+
</ListBoxItem>
99+
</ListBox>
100+
<Separator/>
79101
<ListBox SelectionMode="Extended" Style="{StaticResource MaterialDesignToolToggleFlatListBox}">
80102
<ListBox.ToolTip>
81103
<StackPanel>

0 commit comments

Comments
 (0)