Edit

Share via


EyedropperToolButton Class

Definition

The EyedropperToolButton control helps use Eyedropper in view.

public class EyedropperToolButton : Windows.UI.Xaml.Controls.Primitives.ButtonBase
type EyedropperToolButton = class
    inherit ButtonBase
Public Class EyedropperToolButton
Inherits ButtonBase
Inheritance
Windows.UI.Xaml.Controls.Primitives.ButtonBase
EyedropperToolButton

Constructors

EyedropperToolButton()

Initializes a new instance of the EyedropperToolButton class.

Fields

ColorProperty

Identifies the Color dependency property.

EyedropperEnabledProperty

Identifies the EyedropperEnabled dependency property.

EyedropperStyleProperty

Identifies the EyedropperStyle dependency property.

TargetElementProperty

Identifies the TargetElement dependency property.

Properties

Color

Gets the current color value.

EyedropperEnabled

Gets or sets a value indicating whether eyedropper is opened.

EyedropperStyle

Gets or sets a value for the style to use for the eyedropper.

TargetElement

Gets or sets the working target element of the eyedropper.

Methods

OnPointerEntered(PointerRoutedEventArgs) Windows.UI.Xaml.Controls.Primitives.ButtonBase.OnPointerEntered(Windows.UI.Xaml.Input.PointerRoutedEventArgs)
OnPointerExited(PointerRoutedEventArgs) Windows.UI.Xaml.Controls.Primitives.ButtonBase.OnPointerExited(Windows.UI.Xaml.Input.PointerRoutedEventArgs)
OnPointerPressed(PointerRoutedEventArgs) Windows.UI.Xaml.Controls.Primitives.ButtonBase.OnPointerPressed(Windows.UI.Xaml.Input.PointerRoutedEventArgs)

Events

ColorChanged

Occurs when the Color property has changed.

PickCompleted

Occurs when the eyedropper stops to take color.

PickStarted

Occurs when the eyedropper begins to take color.

Applies to