- Namespace
- MahApps
.Metro .Controls - Base Types
-
- Control
- ColorPickerBase
graph BT
Type-->Base0["ColorPickerBase"]
click Base0 "/api/MahApps.Metro.Controls/ColorPickerBase"
Base0-->Base1["Control"]
Type["ColorCanvas"]
class Type type-node
Syntax
[TemplatePart(Name = "PART_SaturationValueBox", Type = typeof(Control))]
[TemplatePart(Name = "PART_ColorEyeDropper", Type = typeof(ColorEyeDropper))]
public class ColorCanvas : ColorPickerBase
Attributes
| Type | Description |
|---|---|
| TemplatePart | |
| TemplatePart |
Events
| Name | Type | Summary |
|---|---|---|
| SelectedColorChanged | Routed |
Occurs when the
SelectedColor property is changed.
Inherited from ColorPickerBase
|
Fields
| Name | Constant Value | Summary |
|---|---|---|
| AProperty |
Identifies the
A dependency property.Inherited from ColorPickerBase
static
|
|
| BProperty |
Identifies the
B dependency property.Inherited from ColorPickerBase
static
|
|
| ColorIsUpdating |
Inherited from ColorPickerBase
|
|
| ColorNameProperty |
Identifies the
ColorName dependency property.Inherited from ColorPickerBase
static
|
|
| Color |
Identifies the
ColorNamesDictionary dependency property.Inherited from ColorPickerBase
static
|
|
| DefaultColorProperty |
Identifies the
DefaultColor dependency property.Inherited from ColorPickerBase
static
|
|
| GProperty |
Identifies the
G dependency property.Inherited from ColorPickerBase
static
|
|
| HueProperty |
Identifies the
Hue dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelAlphaChannel dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelBlueChannel dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelColorName dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelColorPreview dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelGreenChannel dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelHueChannel dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelRedChannel dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelSaturationChannel dependency property.Inherited from ColorPickerBase
static
|
|
| Label |
Identifies the
LabelValueChannel dependency property.Inherited from ColorPickerBase
static
|
|
| RProperty |
Identifies the
R dependency property.Inherited from ColorPickerBase
static
|
|
| SaturationProperty |
Identifies the
Saturation dependency property.Inherited from ColorPickerBase
static
|
|
| Selected |
Identifies the
SelectedColorChanged routed event.Inherited from ColorPickerBase
static
|
|
| Selected |
Identifies the
SelectedColor dependency property.Inherited from ColorPickerBase
static
|
|
| Selected |
Identifies the
SelectedHSVColor dependency property.Inherited from ColorPickerBase
static
|
|
| UpdateHsvValues |
Inherited from ColorPickerBase
|
|
| ValueProperty |
Identifies the
Value dependency property.Inherited from ColorPickerBase
static
|
Properties
| Name | Value | Summary |
|---|---|---|
| A | byte |
Gets or sets the Alpha-Channel
Inherited from ColorPickerBase
|
| B | byte |
Gets or sets the Blue-Channel
Inherited from ColorPickerBase
|
| ColorName | string |
Gets or sets the name of the
SelectedColor.
Inherited from ColorPickerBase
|
| ColorNamesDictionary | Dictionary |
Gets or sets a
Dictionary<TKey, TValue> for looking up the ColorName
Inherited from ColorPickerBase
|
| DefaultColor | Color? |
Gets or sets a default selected
Color
Inherited from ColorPickerBase
|
| G | byte |
Gets or sets the Green-Channel
Inherited from ColorPickerBase
|
| Hue | double |
Gets or sets the Hue-Channel
Inherited from ColorPickerBase
|
| LabelAlphaChannel | object |
Gets or sets the label for the Alpha-Channel in the UI
Inherited from ColorPickerBase
|
| LabelBlueChannel | object |
Gets or sets the label for the Blue-Channel in the UI
Inherited from ColorPickerBase
|
| LabelColorName | object |
Gets or sets the label for the
ColorName in the UI
Inherited from ColorPickerBase
|
| LabelColorPreview | object |
Gets or sets the label for the Preview in the UI
Inherited from ColorPickerBase
|
| LabelGreenChannel | object |
Gets or sets the label for the Green-Channel in the UI
Inherited from ColorPickerBase
|
| LabelHueChannel | object |
Gets or sets the label for the Hue-Channel in the UI
Inherited from ColorPickerBase
|
| LabelRedChannel | object |
Gets or sets the label for the Red-Channel in the UI
Inherited from ColorPickerBase
|
| Label |
object |
Gets or sets the label for the Saturation-Channel in the UI
Inherited from ColorPickerBase
|
| LabelValueChannel | object |
Gets or sets the label for the Value-Channel in the UI
Inherited from ColorPickerBase
|
| R | byte |
Gets or sets the Red-Channel
Inherited from ColorPickerBase
|
| Saturation | double |
Gets or sets the Saturation-Channel
Inherited from ColorPickerBase
|
| SelectedColor | Color? |
Gets or sets the selected
Color.
Inherited from ColorPickerBase
|
| SelectedHSVColor | HSVColor |
Gets the
SelectedColor as HSVColor. This property is read only.
Inherited from ColorPickerBase
|
| Value | double |
Gets or sets the Value-Channel
Inherited from ColorPickerBase
|
Methods
| Name | Value | Summary |
|---|---|---|
| OnApplyTemplate |
void |
