Table of Contents

Class AbstractUnboundColorPickerPaletteControlBindingModel<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.ColorPickerPalette control.

public abstract class AbstractUnboundColorPickerPaletteControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ColorPickerPalette

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

AutomaticColor

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.AutomaticColor

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

AutomaticColorVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.AutomaticColorVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

BlackWhiteVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.BlackWhiteVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, BlackWhiteVisible>

BorderHeight

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.BorderHeight

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

BorderWidth

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.BorderWidth

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Color

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.Color

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

Property Value

IOneOrTwoWayBind<TViewModel, Color>

ColorName

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

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

CustomColorsCollection

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.CustomColorsCollection

public IOneOrTwoWayBind<TViewModel, ObservableCollection<CustomColor>>? CustomColorsCollection { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ObservableCollection<CustomColor>>

CustomHeaderText

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.CustomHeaderText

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

CustomHeaderVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.CustomHeaderVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

ExpandedAutomaticBorderPressed

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.ExpandedAutomaticBorderPressed

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

Property Value

IOneWayBind<TViewModel, bool>

ExpandedMoreColorsBorderPressed

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.ExpandedMoreColorsBorderPressed

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

Property Value

IOneWayBind<TViewModel, bool>

GenerateStandardVariants

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.GenerateStandardVariants

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

GenerateThemeVariants

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.GenerateThemeVariants

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

HeaderTemplate

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.HeaderTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

Icon

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.Icon

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

Property Value

IOneOrTwoWayBind<TViewModel, ImageSource>

IconSize

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.IconSize

public IOneOrTwoWayBind<TViewModel, Size> IconSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Size>

IsAutomaticBorderPressed

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.IsAutomaticBorderPressed

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

Property Value

IOneWayBind<TViewModel, bool>

IsCustomTabVisible

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.IsCustomTabVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

IsMoreColorsBorderPressed

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.IsMoreColorsBorderPressed

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

Property Value

IOneWayBind<TViewModel, bool>

IsStandardTabVisible

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.IsStandardTabVisible

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

Mode

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.Mode

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

Property Value

IOneOrTwoWayBind<TViewModel, PickerMode>

MoreColorOptionVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.MoreColorOptionVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

MoreColorsIcon

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.MoreColorsIcon

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

Property Value

IOneOrTwoWayBind<TViewModel, ImageSource>

MoreColorsIconSize

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.MoreColorsIconSize

public IOneOrTwoWayBind<TViewModel, Size> MoreColorsIconSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Size>

MouseOverBackground

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.MouseOverBackground

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

NoColorVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.NoColorVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

Popup

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.Popup

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

Property Value

IOneWayBind<TViewModel, Popup>

PopupHeight

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.PopupHeight

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

PopupWidth

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.PopupWidth

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

RecentlyUsedPanelVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.RecentlyUsedPanelVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

SelectedBrush

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.SelectedBrush

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

SelectedCommand

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.SelectedCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

SelectedItem

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.SelectedItem

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

Property Value

IOneWayBind<TViewModel, ColorGroupItem>

SetCustomColors

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.SetCustomColors

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

StandardPanelVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.StandardPanelVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

ThemeHeaderBackGround

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.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.ColorPickerPalette.ThemeHeaderForeGround

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

Property Value

IOneOrTwoWayBind<TViewModel, Brush>

ThemePanelVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.ThemePanelVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

Themes

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ColorPickerPalette.Themes

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

Property Value

IOneOrTwoWayBind<TViewModel, PaletteTheme>

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.