Class AbstractUnboundColorEditControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.ColorEdit control.
public abstract class AbstractUnboundColorEditControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ColorEdit
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundColorEditControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundColorEditControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundColorEditControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundColorEditControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
A
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.A
public IOneOrTwoWayBind<TViewModel, float>? A { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
B
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.B
public IOneOrTwoWayBind<TViewModel, float>? B { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
BackgroundA
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.BackgroundA
public IOneOrTwoWayBind<TViewModel, Brush>? BackgroundA { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
BackgroundB
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.BackgroundB
public IOneOrTwoWayBind<TViewModel, Brush>? BackgroundB { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
BackgroundG
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.BackgroundG
public IOneOrTwoWayBind<TViewModel, Brush>? BackgroundG { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
BackgroundR
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.BackgroundR
public IOneOrTwoWayBind<TViewModel, Brush>? BackgroundR { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
Brush
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.Brush
public IOneOrTwoWayBind<TViewModel, Brush>? Brush { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
BrushMode
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.BrushMode
public IOneOrTwoWayBind<TViewModel, BrushModes>? BrushMode { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, BrushModes>
CentrePoint
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.CentrePoint
public IOneOrTwoWayBind<TViewModel, Point> CentrePoint { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Point>
Color
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.Color
public IOneOrTwoWayBind<TViewModel, Color>? Color { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
EnableGradientToSolidSwitch
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.EnableGradientToSolidSwitch
public IOneOrTwoWayBind<TViewModel, bool>? EnableGradientToSolidSwitch { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableToolTip
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.EnableToolTip
public IOneOrTwoWayBind<TViewModel, bool>? EnableToolTip { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Endpoint
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.Endpoint
public IOneOrTwoWayBind<TViewModel, Point> Endpoint { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Point>
G
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.G
public IOneOrTwoWayBind<TViewModel, float>? G { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
GradientOrigin
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.GradientOrigin
public IOneOrTwoWayBind<TViewModel, Point> GradientOrigin { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Point>
GradientPropertyEditorMode
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.GradientPropertyEditorMode
public IOneOrTwoWayBind<TViewModel, GradientPropertyEditorMode>? GradientPropertyEditorMode { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, GradientPropertyEditorMode>
H
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.H
public IOneOrTwoWayBind<TViewModel, float>? H { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
HSV
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.HSV
public IOneOrTwoWayBind<TViewModel, HSV>? HSV { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, HSV>
InvertColor
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.InvertColor
public IOneOrTwoWayBind<TViewModel, Color>? InvertColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Color>
IsAlphaVisible
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsAlphaVisible
public IOneOrTwoWayBind<TViewModel, bool>? IsAlphaVisible { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsCenterVisible
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsCenterVisible
public IOneOrTwoWayBind<TViewModel, bool>? IsCenterVisible { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsGradientOriginVisible
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsGradientOriginVisible
public IOneOrTwoWayBind<TViewModel, bool>? IsGradientOriginVisible { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsGradientPropertyEnabled
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsGradientPropertyEnabled
public IOneOrTwoWayBind<TViewModel, bool>? IsGradientPropertyEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsOpenGradientPropertyEditor
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsOpenGradientPropertyEditor
public IOneOrTwoWayBind<TViewModel, bool>? IsOpenGradientPropertyEditor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsRadiusVisible
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsRadiusVisible
public IOneOrTwoWayBind<TViewModel, bool>? IsRadiusVisible { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
IsScRGBColor
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.IsScRGBColor
public IOneOrTwoWayBind<TViewModel, bool>? IsScRGBColor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
R
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.R
public IOneOrTwoWayBind<TViewModel, float>? R { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
RadiusX
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.RadiusX
public IOneOrTwoWayBind<TViewModel, Point> RadiusX { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Point>
RadiusY
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.RadiusY
public IOneOrTwoWayBind<TViewModel, Point> RadiusY { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Point>
S
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.S
public IOneOrTwoWayBind<TViewModel, float>? S { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
Startpoint
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.Startpoint
public IOneOrTwoWayBind<TViewModel, Point> Startpoint { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Point>
ThumbTemplate
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.ThumbTemplate
public IOneOrTwoWayBind<TViewModel, ControlTemplate>? ThumbTemplate { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ControlTemplate>
V
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.V
public IOneOrTwoWayBind<TViewModel, float>? V { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, float>
VisualizationStyle
Gets or sets the binding logic for Syncfusion.Windows.Shared.ColorEdit.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
TViewThe view.
viewModel
TViewModelThe 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
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.