Method wpfBuilder.Checked(+ 1 overload)
Overload
Sets System.Windows.Controls.Primitives.ToggleButton.IsChecked and System.Windows.Controls.Primitives.ToggleButton.IsThreeState of the last added check box or radio button.
public wpfBuilder Checked(bool? check = true, bool threeState = false)
Parameters
Returns
Exceptions
NotSupportedException
The last added element is not ToggleButton. |
Overload(top)
Sets System.Windows.Controls.Primitives.ToggleButton.IsChecked of the specified System.Windows.Controls.RadioButton.
public wpfBuilder Checked(bool check, RadioButton control)
Parameters
check (bool) |
control (RadioButton) |
Returns
Remarks
Unlike other similar functions, does not use wpfBuilder.Last.