ColorPickerButton Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Microsoft.UI.Xaml.Controls.DropDownButton which displays a color as its Content
and it's Flyout
is a ColorPicker.
[Microsoft.UI.Xaml.TemplatePart(Name="CheckeredBackgroundBorder", Type=typeof(Microsoft.UI.Xaml.Controls.Border))]
public class ColorPickerButton : Microsoft.UI.Xaml.Controls.DropDownButton
[<Microsoft.UI.Xaml.TemplatePart(Name="CheckeredBackgroundBorder", Type=typeof(Microsoft.UI.Xaml.Controls.Border))>]
type ColorPickerButton = class
inherit DropDownButton
Public Class ColorPickerButton
Inherits DropDownButton
- Inheritance
-
Microsoft.UI.Xaml.Controls.DropDownButtonColorPickerButton
- Attributes
-
Microsoft.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 Microsoft.UI.Xaml.Controls.DropDownButton. |
ColorPickerStyle |
Gets or sets the Microsoft.UI.Xaml.Style for the ColorPicker control used in the button. |
FlyoutPresenterStyle |
Gets or sets the Microsoft.UI.Xaml.Style for the Microsoft.UI.Xaml.Controls.FlyoutPresenter used within the Microsoft.UI.Xaml.Controls.Flyout of the Microsoft.UI.Xaml.Controls.DropDownButton. |
SelectedColor |
Gets or sets the selected Color the user has picked from the ColorPicker. |
Methods
OnApplyTemplate() | Microsoft.UI.Xaml.Controls.DropDownButton.OnApplyTemplate |