Skip to content

Commit b953227

Browse files
authored
Update README.md
1 parent cecf9b6 commit b953227

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,9 @@ This width follow the format of a Grid's ColumnsDefinition, so it should be stra
106106
<segmented:Segment Item="Item1" Width="150" />
107107
<segmented:Segment Item="Item1" Width="Auto" />
108108
```
109+
110+
# IsSelectionRequired feature
111+
112+
By default, the control requires a selected item. By setting `IsSelectionRequired` to `False`, it won't try to constraint the SelectedIndex between 0 and the number of segments. The visual result is no segment is selected.
113+
114+
TLDR: set `IsSelectionRequired="False"` and `SelectedIndex="-1"` to visually see no selection.

0 commit comments

Comments
 (0)