Table of Contents

Class AbstractUnboundStencilControlBindingModel<TView, TViewModel, TControl>

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

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

public abstract class AbstractUnboundStencilControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Stencil

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CommandManager

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.CommandManager

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

Property Value

IOneOrTwoWayBind<TViewModel, StencilCommandManager>

Commands

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.Commands

public IOneWayBind<TViewModel, IStencilCommand>? Commands { get; init; }

Property Value

IOneWayBind<TViewModel, IStencilCommand>

Constraints

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

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

Property Value

IOneOrTwoWayBind<TViewModel, StencilConstraints>

DiagramTheme

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.DiagramTheme

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

Property Value

IOneOrTwoWayBind<TViewModel, DiagramTheme>

DisplayMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.DisplayMode

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

Property Value

IOneOrTwoWayBind<TViewModel, DisplayMode>

ExpandMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.ExpandMode

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

Property Value

IOneOrTwoWayBind<TViewModel, ExpandMode>

GroupMappingName

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.GroupMappingName

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

ItemAddingCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.ItemAddingCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

ItemDeletingCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.ItemDeletingCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

KnownTypes

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.KnownTypes

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

Property Value

IOneOrTwoWayBind<TViewModel, GetTypes>

Menu

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.Menu

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

Property Value

IOneOrTwoWayBind<TViewModel, DiagramMenu>

MenuItemClickedCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.MenuItemClickedCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

MenuOpeningCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.MenuOpeningCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

SelectedFilter

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SelectedFilter

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolFilterProvider>

SelectedItems

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SelectedItems

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolCollection>

SelectedSymbol

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SelectedSymbol

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

Property Value

IOneOrTwoWayBind<TViewModel, Symbol>

SelectionChangedCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SelectionChangedCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

ShowDisplayModeToggleButton

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.ShowDisplayModeToggleButton

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ShowSearchTextBox

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.ShowSearchTextBox

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

SymbolFilters

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolFilters

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolFilters>

SymbolGroupDisplayMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolGroupDisplayMode

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolGroupDisplayMode>

SymbolGroupMenu

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolGroupMenu

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

Property Value

IOneOrTwoWayBind<TViewModel, DiagramMenu>

SymbolGroups

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolGroups

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolGroups>

SymbolPreview

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolPreview

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

Property Value

IOneOrTwoWayBind<TViewModel, ContentPresenter>

SymbolSelectionMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolSelectionMode

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolSelectionMode>

SymbolSource

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolSource

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

SymbolsDisplayMode

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.SymbolsDisplayMode

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

Property Value

IOneOrTwoWayBind<TViewModel, SymbolsDisplayMode>

Title

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.Title

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

TitleTemplate

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.TitleTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

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.