
Toggle
The most common switching application is available with a value of true
false
Click the button to switch statuses
Demo
Click the first switch to output the log with value
The switch is not available.
Demo
Binding variables within a component, data is automatically synchronized
Demo
when the Switch
component turns on bidirectional binding, the DisplayName
label value is automatically obtained based on the bound Model
property value and appears as a pre-Label
, which can be customized to display the pre-label through the DispalyText
property, or through the ShowLabel
property turns off the display of the prelabel
Set the DisplayText
value to custom label
The value of DisplayText is displayed when
ShowLabel
is true
, regardless of whether the value is set
The value of DisplayText
is not displayed when the ShowLabel
is false
Attributes
Event
B station related video link
交流群