PredefinesShapes is a class that allow you to access shapes which is used in CmsKit and existing shapes can be used across controls.
i.e. RadioButton can used Check shapes of Checkbox as selected icon with following code:
<input:RadioButton SelectedIconGeomerty="{x:Static input:PredefinedShapes.Check}" Text="Option 3 with Check Shape"/>
Breaking-Change
Type property of CheckBox is no longer used to define shape. You have to use IconGeometry property to define shape of checkbox. You can use PredefinedShapes like following example:
<input:CheckBox Text="Option 2 with Square Shape" Type="{x:Static input:PredefinedShapes.Square}" />
Introducing Predefined shapes.
PredefinesShapes
is a class that allow you to access shapes which is used in CmsKit and existing shapes can be used across controls.i.e. RadioButton can used Check shapes of Checkbox as selected icon with following code:
Breaking-Change
Type
property ofCheckBox
is no longer used to define shape. You have to useIconGeometry
property to define shape of checkbox. You can usePredefinedShapes
like following example: