Button class controls (including Button, CheckBox, RadioButton, RepeatButton, ToggleButton):
Both CheckBox and RadioButton can be regarded as ToggleButton with changed appearance.
RepeatButton is a special Button that can respond to continuous mouse clicks.
Here is a detailed introduction to ToggleButton, which is a three-state button (that is, it has three click states: Indeterminate, Checked, and Unchecked)
Using this control, you can easily implement the state flip function that previously required writing a lot of JavaScript code.
Slider control: The Slider control is a very important control, especially essential for network multimedia players. It has several important properties:
Value, Maximum, Minimum, LargeChange
Value is the current value of Slider, the default is 0
Maximum is used to set the maximum value of this Slider. Minimum is used to set the minimum value of this Slider. The default is 0.
Of course, you can also customize it through Template to make this Slider more beautiful.
ListBox control:
ListBox is a type of List control that can bind data
In addition, you can also pay ListBox through data binding (DataContext)
Calendar control:
To use the Calendar control, you need to first reference the name control System.Windows.Controls
Four beautiful control style resources, which can be used to replace the default control style
Expand