Table of Contents

Class AbstractUnboundChromelessWindowControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Shared
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.ChromelessWindow control.

public abstract class AbstractUnboundChromelessWindowControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundWindowControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ChromelessWindow

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CloseButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.CloseButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

CornerRadius

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.CornerRadius

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

Property Value

IOneOrTwoWayBind<TViewModel, CornerRadius>

HideTaskBar

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.HideTaskBar

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IconAlignment

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.IconAlignment

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

Property Value

IOneOrTwoWayBind<TViewModel, IconAlignment>

LeftHeaderItemTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.LeftHeaderItemTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

LeftHeaderItemsSource

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.LeftHeaderItemsSource

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

Property Value

IOneOrTwoWayBind<TViewModel, IEnumerable>

MaximizeButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.MaximizeButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

MinimizeButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.MinimizeButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

NavigationBarBackground

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.NavigationBarBackground

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

Property Value

IOneOrTwoWayBind<TViewModel, LinearGradientBrush>

ResizeBorderBrush

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ResizeBorderBrush

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

ResizeBorderThickness

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ResizeBorderThickness

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

Property Value

IOneOrTwoWayBind<TViewModel, Thickness>

ResizeGripStyle

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ResizeGripStyle

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

Property Value

IOneOrTwoWayBind<TViewModel, Style>

RestoreButtonTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.RestoreButtonTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

RightHeaderItemTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.RightHeaderItemTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

RightHeaderItemsSource

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.RightHeaderItemsSource

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

Property Value

IOneOrTwoWayBind<TViewModel, IEnumerable>

ShowIcon

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ShowIcon

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ShowMaximizeButton

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ShowMaximizeButton

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ShowMinimizeButton

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ShowMinimizeButton

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

ShowTitle

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.ShowTitle

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

TitleBar

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleBar

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

Property Value

IOneWayBind<TViewModel, TitleBar>

TitleBarBackground

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleBarBackground

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

TitleBarForeground

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleBarForeground

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

TitleBarHeight

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleBarHeight

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

TitleBarTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleBarTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlTemplate>

TitleFontSize

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleFontSize

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

TitleTextAlignment

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.TitleTextAlignment

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

Property Value

IOneOrTwoWayBind<TViewModel, HorizontalAlignment>

UseNativeChrome

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.UseNativeChrome

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

WindowContentAreaBorderBrush

Gets or sets the binding logic for Syncfusion.Windows.Shared.ChromelessWindow.WindowContentAreaBorderBrush

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

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.