Table of Contents

Class AbstractUnboundDataGridColumnHeaderControlBindingModel<TView, TViewModel, TControl>

A class that contains Viewmodel bindings for the DataGridColumnHeader control.

public abstract class AbstractUnboundDataGridColumnHeaderControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundButtonBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DataGridColumnHeader

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundDataGridColumnHeaderControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

AbstractUnboundDataGridColumnHeaderControlBindingModel(Expression<Func<TView, TControl>>)

protected AbstractUnboundDataGridColumnHeaderControlBindingModel(Expression<Func<TView, TControl>> viewExpression)

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CanUserSort

Gets or sets the binding logic for CanUserSort

public IOneWayBind<TViewModel, bool>? CanUserSort { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

Column

Gets or sets the binding logic for Column

public IOneWayBind<TViewModel, DataGridColumn>? Column { get; init; }

Property Value

IOneWayBind<TViewModel, DataGridColumn>

ColumnFloatingHeaderStyleKey

Gets or sets the binding logic for ColumnFloatingHeaderStyleKey

public IOneWayBind<TViewModel, ComponentResourceKey>? ColumnFloatingHeaderStyleKey { get; init; }

Property Value

IOneWayBind<TViewModel, ComponentResourceKey>

ColumnHeaderDropSeparatorStyleKey

Gets or sets the binding logic for ColumnHeaderDropSeparatorStyleKey

public IOneWayBind<TViewModel, ComponentResourceKey>? ColumnHeaderDropSeparatorStyleKey { get; init; }

Property Value

IOneWayBind<TViewModel, ComponentResourceKey>

DisplayIndex

Gets or sets the binding logic for DisplayIndex

public IOneWayBind<TViewModel, int>? DisplayIndex { get; init; }

Property Value

IOneWayBind<TViewModel, int>

IsFrozen

Gets or sets the binding logic for IsFrozen

public IOneWayBind<TViewModel, bool>? IsFrozen { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

SeparatorBrush

Gets or sets the binding logic for SeparatorBrush

public IOneOrTwoWayBind<TViewModel, Brush>? SeparatorBrush { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

SeparatorVisibility

Gets or sets the binding logic for SeparatorVisibility

public IOneOrTwoWayBind<TViewModel, Visibility>? SeparatorVisibility { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

SortDirection

Gets or sets the binding logic for SortDirection

public IOneWayBind<TViewModel, ListSortDirection?>? SortDirection { get; init; }

Property Value

IOneWayBind<TViewModel, ListSortDirection?>

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 TView

The view.

viewModel TViewModel

The 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 TView

The view.

viewModel TViewModel

The viewmodel.

compositeDisposable CompositeDisposable

The disposable container to register disposals against.