Table of Contents

Class AbstractUnboundContainerHeaderControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.UI.Xaml.Diagram
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.UI.Xaml.Diagram.ContainerHeader control.

public abstract class AbstractUnboundContainerHeaderControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ContainerHeader

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Annotation

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.Annotation

public IOneOrTwoWayBind<TViewModel, IAnnotation>? Annotation { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, IAnnotation>

BoundingRectangle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.BoundingRectangle

public IOneWayBind<TViewModel, Rect> BoundingRectangle { get; init; }

Property Value

IOneWayBind<TViewModel, Rect>

ID

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.ID

public IOneOrTwoWayBind<TViewModel, object>? ID { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, object>

Info

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.Info

public IOneOrTwoWayBind<TViewModel, IContainerHeaderInfo>? Info { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, IContainerHeaderInfo>

Key

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.Key

public IOneOrTwoWayBind<TViewModel, object>? Key { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, object>

ShapeStyle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.ShapeStyle

public IOneOrTwoWayBind<TViewModel, Style>? ShapeStyle { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Style>

UnitHeight

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.UnitHeight

public IOneOrTwoWayBind<TViewModel, double>? UnitHeight { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

UnitWidth

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.ContainerHeader.UnitWidth

public IOneOrTwoWayBind<TViewModel, double>? UnitWidth { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

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.