mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-29 07:16:33 +08:00
Refactor CheckBox
use xaml theme
This commit is contained in:
@@ -76,7 +76,7 @@ public class OptionButton : AvaloniaRadioButton,
|
||||
OptionButtonPositionTrait.OnlyOne);
|
||||
|
||||
internal static readonly StyledProperty<bool> IsMotionEnabledProperty
|
||||
= WaveSpiritAwareControlProperty.IsMotionEnabledProperty.AddOwner<OptionButton>();
|
||||
= MotionAwareControlProperty.IsMotionEnabledProperty.AddOwner<OptionButton>();
|
||||
|
||||
internal static readonly StyledProperty<bool> IsWaveSpiritEnabledProperty
|
||||
= WaveSpiritAwareControlProperty.IsWaveSpiritEnabledProperty.AddOwner<OptionButton>();
|
||||
|
||||
@@ -42,7 +42,7 @@ public class OptionButtonGroup : SelectingItemsControl,
|
||||
AvaloniaProperty.Register<OptionButtonGroup, OptionButtonStyle>(nameof(SizeType));
|
||||
|
||||
public static readonly StyledProperty<bool> IsMotionEnabledProperty
|
||||
= WaveSpiritAwareControlProperty.IsMotionEnabledProperty.AddOwner<OptionButtonGroup>();
|
||||
= MotionAwareControlProperty.IsMotionEnabledProperty.AddOwner<OptionButtonGroup>();
|
||||
|
||||
public static readonly StyledProperty<bool> IsWaveSpiritEnabledProperty
|
||||
= WaveSpiritAwareControlProperty.IsWaveSpiritEnabledProperty.AddOwner<OptionButtonGroup>();
|
||||
|
||||
Reference in New Issue
Block a user