Eyedropper 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.
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.ControlEyedropper
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. |