Class AbstractUnboundPinnableListBoxItemControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.PinnableListBoxItem control.
public abstract class AbstractUnboundPinnableListBoxItemControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PinnableListBoxItem
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPinnableListBoxItemControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPinnableListBoxItemControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPinnableListBoxItemControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPinnableListBoxItemControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AddedTime
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.AddedTime
public IOneOrTwoWayBind<TViewModel, DateTime>? AddedTime { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, DateTime>
BindCommand
Gets or sets the command binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem
public ICommandBinding<TViewModel>? BindCommand { get; init; }
Property Value
- ICommandBinding<TViewModel>
Command
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.Command
public IOneOrTwoWayBind<TViewModel, ICommand>? Command { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
CommandParameter
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.CommandParameter
public IOneOrTwoWayBind<TViewModel, object>? CommandParameter { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
CommandTarget
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.CommandTarget
public IOneOrTwoWayBind<TViewModel, IInputElement>? CommandTarget { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, IInputElement>
CornerRadius
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.CornerRadius
public IOneOrTwoWayBind<TViewModel, Thickness>? CornerRadius { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Thickness>
Description
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.Description
public IOneOrTwoWayBind<TViewModel, string>? Description { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
Icon
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.Icon
public IOneOrTwoWayBind<TViewModel, ImageSource>? Icon { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ImageSource>
IsPinned
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.IsPinned
public IOneOrTwoWayBind<TViewModel, bool>? IsPinned { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsSelected
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBoxItem.IsSelected
public IOneOrTwoWayBind<TViewModel, bool>? IsSelected { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
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.