Table of Contents

Class AbstractUnboundColorGroupControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Tools.Controls
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Tools.Controls.ColorGroup control.

public abstract class AbstractUnboundColorGroupControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ColorGroup

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

ColorName

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.ColorName

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

DataSource

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.DataSource

public IOneOrTwoWayBind<TViewModel, ObservableCollection<ColorGroupItem>>? DataSource { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ObservableCollection<ColorGroupItem>>

HeaderName

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.HeaderName

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

HeaderVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.HeaderVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

PanelVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.PanelVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

ThemeHeaderBackGround

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.ThemeHeaderBackGround

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

ThemeHeaderForeGround

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.ThemeHeaderForeGround

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

color

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorGroup.color

public IOneOrTwoWayBind<TViewModel, Brush>? color { 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.