Class AbstractUnboundRadioButtonControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the RadioButton control.
public abstract class AbstractUnboundRadioButtonControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundTemplatedViewControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : RadioButton
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundNavigableElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundVisualElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundViewControlBindingModel<TView, TViewModel, TControl>AbstractUnboundLayoutControlBindingModel<TView, TViewModel, TControl>AbstractUnboundTemplatedViewControlBindingModel<TView, TViewModel, TControl>AbstractUnboundRadioButtonControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundRadioButtonControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundRadioButtonControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundRadioButtonControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
BorderColor
Gets or sets the binding logic for BorderColor
public IOneOrTwoWayBind<TViewModel, Color>? BorderColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
BorderWidth
Gets or sets the binding logic for BorderWidth
public IOneOrTwoWayBind<TViewModel, double>? BorderWidth { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
CharacterSpacing
Gets or sets the binding logic for CharacterSpacing
public IOneOrTwoWayBind<TViewModel, double>? CharacterSpacing { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
Content
Gets or sets the binding logic for Content
public IOneOrTwoWayBind<TViewModel, object>? Content { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
CornerRadius
Gets or sets the binding logic for CornerRadius
public IOneOrTwoWayBind<TViewModel, int>? CornerRadius { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
DefaultTemplate
Gets or sets the binding logic for DefaultTemplate
public IOneWayBind<TViewModel, ControlTemplate>? DefaultTemplate { get; init; }
Property Value
- IOneWayBind<TViewModel, ControlTemplate>
FontAttributes
Gets or sets the binding logic for FontAttributes
public IOneOrTwoWayBind<TViewModel, FontAttributes>? FontAttributes { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, FontAttributes>
FontAutoScalingEnabled
Gets or sets the binding logic for FontAutoScalingEnabled
public IOneOrTwoWayBind<TViewModel, bool>? FontAutoScalingEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
FontFamily
Gets or sets the binding logic for FontFamily
public IOneOrTwoWayBind<TViewModel, string>? FontFamily { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
FontSize
Gets or sets the binding logic for FontSize
public IOneOrTwoWayBind<TViewModel, double>? FontSize { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
GroupName
Gets or sets the binding logic for GroupName
public IOneOrTwoWayBind<TViewModel, string>? GroupName { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
IsChecked
Gets or sets the binding logic for IsChecked
public IOneOrTwoWayBind<TViewModel, bool>? IsChecked { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
TextColor
Gets or sets the binding logic for TextColor
public IOneOrTwoWayBind<TViewModel, Color>? TextColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
TextTransform
Gets or sets the binding logic for TextTransform
public IOneOrTwoWayBind<TViewModel, TextTransform>? TextTransform { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, TextTransform>
Value
Gets or sets the binding logic for Value
public IOneOrTwoWayBind<TViewModel, object>? Value { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
Methods
ApplyBindings(TView, TViewModel, Action<IDisposable>)
Applies the binding between the view and the view model.
public override void ApplyBindings(TView view, TViewModel viewModel, Action<IDisposable> registerForDisposalAction)
Parameters
viewTViewThe view.
viewModelTViewModelThe viewmodel.
registerForDisposalActionAction<IDisposable>
ApplyBindings(TView, TViewModel, CompositeDisposable)
Applies the binding between the view and the view model.
public override void ApplyBindings(TView view, TViewModel viewModel, CompositeDisposable compositeDisposable)
Parameters
viewTViewThe view.
viewModelTViewModelThe viewmodel.
compositeDisposableCompositeDisposableThe disposable container to register disposals against.