ColorPickerButton Class

Definition

A Windows.UI.Xaml.Controls.DropDownButton which displays a color as its Content and it's Flyout is a ColorPicker.

[Windows.UI.Xaml.TemplatePart(Name="CheckeredBackgroundBorder", Type=typeof(Windows.UI.Xaml.Controls.Border))]
public class ColorPickerButton : Windows.UI.Xaml.Controls.DropDownButton
[<Windows.UI.Xaml.TemplatePart(Name="CheckeredBackgroundBorder", Type=typeof(Windows.UI.Xaml.Controls.Border))>]
type ColorPickerButton = class
    inherit DropDownButton
Public Class ColorPickerButton
Inherits DropDownButton
Inheritance
Windows.UI.Xaml.Controls.DropDownButton
ColorPickerButton
Attributes
Windows.UI.Xaml.TemplatePartAttribute

Constructors

ColorPickerButton()

Initializes a new instance of the ColorPickerButton class.

Fields

ColorPickerStyleProperty

Identifies the ColorPickerStyle dependency property.

FlyoutPresenterStyleProperty

Identifies the FlyoutPresenterStyle dependency property.

SelectedColorProperty

Identifies the SelectedColor dependency property.

Properties

ColorPicker

Gets the ColorPicker instances contained by the Windows.UI.Xaml.Controls.DropDownButton.

ColorPickerStyle

Gets or sets the Windows.UI.Xaml.Style for the ColorPicker control used in the button.

FlyoutPresenterStyle

Gets or sets the Windows.UI.Xaml.Style for the Windows.UI.Xaml.Controls.FlyoutPresenter used within the Windows.UI.Xaml.Controls.Flyout of the Windows.UI.Xaml.Controls.DropDownButton.

SelectedColor

Gets or sets the selected Color the user has picked from the ColorPicker.

Methods

OnApplyTemplate() Windows.UI.Xaml.Controls.DropDownButton.OnApplyTemplate

Applies to