Edit

Share via


Eyedropper Class

Definition

The Eyedropper control can pick up a color from anywhere in your application.

public class Eyedropper : Windows.UI.Xaml.Controls.Control
type Eyedropper = class
    inherit Control
Public Class Eyedropper
Inherits Control
Inheritance
Windows.UI.Xaml.Controls.Control
Eyedropper

Constructors

Eyedropper()

Initializes a new instance of the Eyedropper class.

Fields

ColorProperty

Identifies the Color dependency property.

PreviewProperty

Identifies the Preview dependency property.

WorkAreaProperty

Identifies the WorkArea dependency property.

Properties

Color

Gets the current color value.

Preview

Gets the enlarged pixelated preview image.

WorkArea

Gets or sets the working area of the eyedropper.

Methods

Close()

Close the eyedropper.

Open(Nullable<Point>)

Open the eyedropper.

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