編集

次の方法で共有


ColorPickerButton Class

Definition

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.DropDownButton
ColorPickerButton
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

Applies to