menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorSelectionBox - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorSelectionBox

    Represents a control that enables the user to select values by moving the thumb

    Inheritance
    System.Object
    ColorSelectionBox
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Controls.Media
    Assembly: Syncfusion.SfColorPickers.UWP.dll
    Syntax
    public class ColorSelectionBox : Control, IDisposable
    Remarks

    The selected color is highlighted by the Syncfusion.UI.Xaml.Controls.Media.ColorToolTip

    Constructors

    ColorSelectionBox()

    Initializes a new instance of the ColorSelectionBox class.

    Declaration
    public ColorSelectionBox()

    Fields

    HueProperty

    Using a DependencyProperty as the backing store for Hue. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty HueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SelectedColorProperty

    Using a DependencyProperty as the backing store for TargetColor. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SelectedColorProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    Hue

    Gets or sets the corresponding hue of the color that has been selected by the user in the ColorSelectionBox control.

    Declaration
    public double Hue { get; set; }
    Property Value
    Type
    System.Double

    SelectedColor

    Gets or sets a color that has been selected by the user in the ColorSelectionBox control.

    Declaration
    public Color SelectedColor { get; set; }
    Property Value
    Type
    Windows.UI.Color

    Methods

    Dispose()

    Called when control unloaded

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Called when control unloaded

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Indicates whether the control is disposed

    OnApplyTemplate()

    Initializes all the child elements of the ColorSelectionBox control.

    Declaration
    protected override void OnApplyTemplate()

    Events

    SelectionChanged

    Invokes an event when the ColorSelectionBox selected color has changed

    Declaration
    public event PropertyChangedCallback SelectionChanged
    Event Type
    Type
    Windows.UI.Xaml.PropertyChangedCallback

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved