Table of Contents

Class AbstractUnboundAnnotationEditorControlBindingModel<TView, TViewModel, TControl>

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

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

public abstract class AbstractUnboundAnnotationEditorControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : AnnotationEditor

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AnnotationRelativeMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.AnnotationRelativeMode

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

Property Value

IOneOrTwoWayBind<TViewModel, AnnotationRelativeMode>

BoundingRectangle

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

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

Property Value

IOneWayBind<TViewModel, Rect>

Constraints

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Constraints

public IOneOrTwoWayBind<TViewModel, AnnotationConstraints>? Constraints { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, AnnotationConstraints>

Content

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Content

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

Displacement

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Displacement

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

DragLimit

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.DragLimit

public IOneOrTwoWayBind<TViewModel, Thickness>? DragLimit { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

EditTemplate

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.EditTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? EditTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

ID

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

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

Key

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

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

LabelWidth

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.LabelWidth

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Length

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Length

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Margin

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Margin

public IOneOrTwoWayBind<TViewModel, Thickness>? Margin { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

Mode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Mode

public IOneOrTwoWayBind<TViewModel, ContentEditorMode>? Mode { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ContentEditorMode>

Offset

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Offset

public IOneOrTwoWayBind<TViewModel, Point> Offset { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Point>

Pivot

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.Pivot

public IOneOrTwoWayBind<TViewModel, Point> Pivot { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Point>

ReadOnly

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.ReadOnly

public IOneOrTwoWayBind<TViewModel, bool>? ReadOnly { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

RotateAngle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.RotateAngle

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

RotationReference

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.RotationReference

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

Property Value

IOneOrTwoWayBind<TViewModel, RotationReference>

TextAlignment

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.TextAlignment

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

Property Value

IOneOrTwoWayBind<TViewModel, TextAlignment>

TextHorizontalAlignment

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.TextHorizontalAlignment

public IOneOrTwoWayBind<TViewModel, TextAlignment>? TextHorizontalAlignment { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, TextAlignment>

TextVerticalAlignment

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.TextVerticalAlignment

public IOneOrTwoWayBind<TViewModel, VerticalAlignment>? TextVerticalAlignment { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, VerticalAlignment>

UnitHeight

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.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.Controls.AnnotationEditor.UnitWidth

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

ViewTemplate

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.ViewTemplate

public IOneOrTwoWayBind<TViewModel, DataTemplate>? ViewTemplate { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

WrapText

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.AnnotationEditor.WrapText

public IOneOrTwoWayBind<TViewModel, TextWrapping>? WrapText { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, TextWrapping>

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.