mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-22 00:46:48 +08:00
Refactor BaseCalendarDayButton
This commit is contained in:
@@ -178,17 +178,12 @@ public class AddOnDecoratedBox : ContentControl,
|
||||
Control IControlSharedTokenResourcesHost.HostControl => this;
|
||||
string IControlSharedTokenResourcesHost.TokenId => AddOnDecoratedBoxToken.ID;
|
||||
|
||||
CompositeDisposable? IResourceBindingManager.ResourceBindingsDisposable
|
||||
{
|
||||
get => _resourceBindingsDisposable;
|
||||
set => _resourceBindingsDisposable = value;
|
||||
}
|
||||
CompositeDisposable? IResourceBindingManager.ResourceBindingsDisposable { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
protected Control? _leftAddOnPresenter;
|
||||
protected Control? _rightAddOnPresenter;
|
||||
private CompositeDisposable? _resourceBindingsDisposable;
|
||||
|
||||
static AddOnDecoratedBox()
|
||||
{
|
||||
|
||||
@@ -41,12 +41,7 @@ internal class BaseCalendarDayButton : AvaloniaButton,
|
||||
set => SetValue(IsMotionEnabledProperty, value);
|
||||
}
|
||||
|
||||
CompositeDisposable? IResourceBindingManager.ResourceBindingsDisposable
|
||||
{
|
||||
get => _resourceBindingsDisposable;
|
||||
set => _resourceBindingsDisposable = value;
|
||||
}
|
||||
private CompositeDisposable? _resourceBindingsDisposable;
|
||||
CompositeDisposable? IResourceBindingManager.ResourceBindingsDisposable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Default content for the CalendarDayButton.
|
||||
|
||||
Reference in New Issue
Block a user