

Gets or sets a value that indicates how far the background extends in relation to this element's border. Gets or sets a brush that provides the background of the control. Gets or sets whether a disabled control can receive focus. Gets or sets a value that indicates whether the element automatically gets focus when the user interacts with it. Gets or sets a value that determines whether this UIElement can be a drop target for purposes of drag-and-drop operations. Gets the rendered width of a FrameworkElement. Gets the UI theme that is currently used by the element, which might be different than the RequestedTheme. Gets the size that this UIElement computed during the arrange pass of the layout process. Gets the position of this UIElement, relative to its parent, computed during the arrange pass of the layout process. Gets the rendered height of a FrameworkElement. Gets or sets a source element that provides the access key scope for this element, even if it's not in the visual tree of the source element. Gets or sets the access key (mnemonic) for this element.

#COLORPICKER APP WINDOWS#
Initializes a new instance of the ColorPicker class.Įquivalent WinUI 2 API for UWP: Microsoft.UI.#ctor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). By default, it lets a user navigate through colors on a color spectrum, or specify a color in either Red-Green-Blue (RGB), Hue-Saturation-Value (HSV), or Hexadecimal textboxes.įor more info about the ColorPicker control, see Color picker. RemarksĪ color picker is used to browse through and select colors.
#COLORPICKER APP CODE#
Get the app from the Microsoft Store or get the source code on GitHub. The WinUI 2 Gallery app includes interactive examples of most WinUI 2 controls, features, and functionality. Open the WinUI 2 Gallery app and see the ColorPicker in action Public class ColorPicker : Control function ColorPicker() Public Class ColorPicker / Ĭlass ColorPicker : Control /// Ĭlass ColorPicker : Control Represents a control that lets a user pick a color using a color spectrum, sliders, and text input.Įquivalent WinUI 2 API for UWP: Microsoft.UI. (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
