[]
Control used to pick a Thickness value.
[TemplatePart(Name = "Left", Type = typeof(C1NumericBox))]
[TemplatePart(Name = "Right", Type = typeof(C1NumericBox))]
[TemplatePart(Name = "Top", Type = typeof(C1NumericBox))]
[TemplatePart(Name = "Bottom", Type = typeof(C1NumericBox))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1ThicknessPicker : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
<TemplatePart(Name:="Left", Type:=GetType(C1NumericBox))>
<TemplatePart(Name:="Right", Type:=GetType(C1NumericBox))>
<TemplatePart(Name:="Top", Type:=GetType(C1NumericBox))>
<TemplatePart(Name:="Bottom", Type:=GetType(C1NumericBox))>
<TemplateVisualState(Name:="MouseOver", GroupName:="CommonStates")>
<TemplateVisualState(Name:="Disabled", GroupName:="CommonStates")>
<TemplateVisualState(Name:="Normal", GroupName:="CommonStates")>
Public Class C1ThicknessPicker
Inherits Control
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
| Name | Description |
|---|---|
| C1ThicknessPicker() | Initializes a new instance of a C1ThicknessPicker. |
| Name | Description |
|---|---|
| ThicknessProperty | Identifies the Thickness dependency property. |
| Name | Description |
|---|---|
| Thickness | Gets or sets the current thickness value. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| OnApplyTemplate() | Builds the visual tree for the C1ThicknessPicker control when a new template is applied. |
| OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
| Name | Description |
|---|---|
| IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |
| ThicknessChanged | Event raised when the Thickness property has changed. |