This control provides a simple way to create custom controls with labels and support text that follow the Material Design Guidelines.
<material3:MaterialCustomControl
AnimateError="True"
SupportingText="{Binding AssistiveText}"
LabelText="Value">
<material3:MaterialCustomControl.CustomControl>
<Slider />
</material3:MaterialCustomControl.CustomControl>
</material3:MaterialCustomControl>
This property is to set the label.
This property is to set the label color.
This property is to set the disabled label color.
This property is to set the label size.
This property is to set the label font family.
This property is to set the label margin family. By default uses (16,0,16,0).
This property is to set the Label Line Break Mode
- NoWrap,
- WordWrap,
- CharacterWrap,
- HeadTruncation,
- TailTruncation,
- MiddleTruncation
This property is to set the supporting text.
This property is to set the supporting text color.
This property is to set the supporting text size.
This property is to set the supporting text font family.
This property is to set the supporting text margin. By default uses (16,4,16,0).
This property is to set the Supporting LineBreakMode.
- NoWrap,
- WordWrap,
- CharacterWrap,
- HeadTruncation,
- TailTruncation,
- MiddleTruncation
This property is to set the horizontal text alignment.
- Start
- Center
- End
This property is to set if you can show a ShakeAnimation when there is a error with control. If the user doesn't rate.