ColorEyeDropper Class
Namespace
MahApps.Metro.Controls
Base Types
  • Button
graph BT Type-->Base0["Button"] Type["ColorEyeDropper"] class Type type-node

Syntax

public class ColorEyeDropper : Button

Events

Name Type Summary
SelectedColorChanged RoutedPropertyChangedEventHandler<Color?>
Occurs when the SelectedColor property is changed.

Fields

Name Field Type Constant Value Summary
EyeDropperCursorProperty DependencyProperty
Identifies the EyeDropperCursor dependency property.
static
PreviewContentTemplateProperty DependencyProperty
Identifies the PreviewContentTemplate dependency property.
static
PreviewImageOuterPixelCountProperty DependencyProperty
Identifies the PreviewImageOuterPixelCount dependency property.
static
SelectedColorChangedEvent RoutedEvent
Identifies the SelectedColorChanged routed event.
static
SelectedColorProperty DependencyProperty
Identifies the SelectedColor dependency property.
static

Properties

Name Property Type Summary
EyeDropperCursor Cursor
Gets or sets the Cursor for Selecting Color Mode
PreviewContentTemplate DataTemplate
Gets or sets the ContentControl.ContentTemplate for the preview.
PreviewImageOuterPixelCount int
Gets or sets the number of additional pixel in the preview image.
SelectedColor Color?
Gets or sets the selected Color.

Methods