Browse Source
Merge pull request #1336 from jp2masa/togglebutton-ischecked-default-value
Fixed ToggleButton.IsChecked default value
pull/1339/head
Steven Kirk
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/Avalonia.Controls/Primitives/ToggleButton.cs
|
|
@ -14,6 +14,7 @@ namespace Avalonia.Controls.Primitives |
|
|
nameof(IsChecked), |
|
|
nameof(IsChecked), |
|
|
o => o.IsChecked, |
|
|
o => o.IsChecked, |
|
|
(o, v) => o.IsChecked = v, |
|
|
(o, v) => o.IsChecked = v, |
|
|
|
|
|
unsetValue: false, |
|
|
defaultBindingMode: BindingMode.TwoWay); |
|
|
defaultBindingMode: BindingMode.TwoWay); |
|
|
|
|
|
|
|
|
public static readonly StyledProperty<bool> IsThreeStateProperty = |
|
|
public static readonly StyledProperty<bool> IsThreeStateProperty = |
|
|
|