Category / Section
How to keep all SymbolGroups expanded by default?
1 min read
We have provided support to expand all SymbolGroups by default. We have provided GroupExpanded constraints in Stencil to achieve this. We have provided code example and sample to represent this. Please refer to the sample and code example as below.
C#:
<stencil:Stencil x:Name="symbolstencil" Grid.Column="0" ExpandMode="All" Constraints="GroupExpanded"> <stencil:Stencil.SymbolGroups> <stencil:SymbolGroups> <stencil:SymbolGroupProvider MappingName="GroupName"/> </stencil:SymbolGroups> </stencil:Stencil.SymbolGroups> </stencil:Stencil>