Table of Contents

Class AbstractUnboundColorPickerControlBindingModel<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.ColorPicker control.

public abstract class AbstractUnboundColorPickerControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ColorPicker

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Brush

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.Brush

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

BrushMode

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.BrushMode

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

Property Value

IOneOrTwoWayBind<TViewModel, BrushModes>

Color

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.Color

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

Property Value

IOneOrTwoWayBind<TViewModel, Color>

ColorEditBackground

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.ColorEditBackground

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

EnableSolidToGradientSwitch

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.EnableSolidToGradientSwitch

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

EnableToolTip

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.EnableToolTip

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

GradientBrushDisplayMode

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.GradientBrushDisplayMode

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

Property Value

IOneOrTwoWayBind<TViewModel, GradientBrushDisplayMode>

GradientPropertyEditorMode

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.GradientPropertyEditorMode

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

Property Value

IOneOrTwoWayBind<TViewModel, GradientPropertyEditorMode>

HeaderTemplate

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.HeaderTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

IsAlphaVisible

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsAlphaVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsCenterVisible

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsCenterVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsColorPaletteVisible

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsColorPaletteVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsGradientOriginVisible

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsGradientOriginVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsGradientPropertyEnabled

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsGradientPropertyEnabled

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsOpenGradientPropertyEditor

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsOpenGradientPropertyEditor

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsRadiusVisible

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.IsRadiusVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

VisualizationStyle

Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorPicker.VisualizationStyle

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

Property Value

IOneOrTwoWayBind<TViewModel, ColorSelectionMode>

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.