Class AbstractUnboundPinnableListBoxControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.PinnableListBox control.
public abstract class AbstractUnboundPinnableListBoxControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundItemsControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : PinnableListBox
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundItemsControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPinnableListBoxControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPinnableListBoxControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPinnableListBoxControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPinnableListBoxControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
Header
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.Header
public IOneOrTwoWayBind<TViewModel, string>? Header { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
PinItemsSortDescription
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.PinItemsSortDescription
public IOneOrTwoWayBind<TViewModel, string>? PinItemsSortDescription { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
PinnedItems
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.PinnedItems
public IOneOrTwoWayBind<TViewModel, ObservableCollection<object>>? PinnedItems { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ObservableCollection<object>>
PinnedSortDirection
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.PinnedSortDirection
public IOneOrTwoWayBind<TViewModel, ListSortDirection>? PinnedSortDirection { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ListSortDirection>
SelectedItem
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.SelectedItem
public IOneOrTwoWayBind<TViewModel, object>? SelectedItem { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
UnPinItemsSortDescription
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.UnPinItemsSortDescription
public IOneOrTwoWayBind<TViewModel, string>? UnPinItemsSortDescription { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, string>
UnPinnedSortDirection
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.UnPinnedSortDirection
public IOneOrTwoWayBind<TViewModel, ListSortDirection>? UnPinnedSortDirection { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ListSortDirection>
UnpinnedItems
Gets or sets the binding logic for Syncfusion.Windows.Shared.PinnableListBox.UnpinnedItems
public IOneOrTwoWayBind<TViewModel, ObservableCollection<object>>? UnpinnedItems { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ObservableCollection<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
view
TViewThe view.
viewModel
TViewModelThe viewmodel.
registerForDisposalAction
Action<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
view
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.