[]
Abstract base class of tools that edit C1Length.
[TemplatePart(Name = "Value", Type = typeof(C1NumericBox))]
[TemplatePart(Name = "Unit", Type = typeof(ComboBox))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public abstract class C1LengthTool : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IUpdateableTool
| Name | Description |
|---|---|
| C1LengthTool() | Initializes a new instance of a C1LengthTool. |
| Name | Description |
|---|---|
| HeaderTemplateProperty | Identifies the HeaderTemplate dependency property. |
| LengthProperty | Identifies the Length dependency property. |
| RichTextBoxProperty | Identifies the RichTextBox dependency property. |
| Name | Description |
|---|---|
| HeaderTemplate | Gets or sets the header template. |
| Length | Gets or sets the length value. |
| RichTextBox | Gets or sets the C1RichTextBox this tool edits. |
| Units |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| GetValue(C1TextRange) | |
| OnApplyTemplate() | Builds the visual tree for the C1LengthTool control when a new template is applied. |
| OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
| SetValue(C1TextRange, C1Length) | |
| Update() | Method called when the tool should update its state. |
| Name | Description |
|---|---|
| IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |
| LengthChanged | Event raised when the Length property has changed. |