TextAnnotation
Defines a Text annotation, which may be used to place read-only labels or read-write Textboxes on the parent UltrachartSurface
Erbt von: AnchorPointAnnotation
Konstruktoren
TextAnnotation()
Initializes a new instance of the TextAnnotation class.
Eigenschaften
CornerRadius : CornerRadius
Gets or sets the CornerRadius of the TextAnnotation
TextAlignment : TextAlignment
Gets or sets the TextAlignment
TextStretch : Stretch
Gets or sets how Text stretches to fill its container. Applicable if the X1,Y1,X2,Y2 properties are all set, else text will be uniform
Methoden
FocusInputTextArea()
Focuses the text input area on the TextAnnotation
IsPointWithinBounds(Point) : bool
Returns true if the Point is within the bounds of the current IHitTestable element
- point
- The point to test
Rückgabe: true if the Point is within the bounds
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
RemoveFocusInputTextArea()
Remove focus from input text area. Applicable only for Text and label annotation
Felder
CornerRadiusProperty : DependencyProperty
Defines the CornerRadius DependencyProperty
TextAlignmentProperty : DependencyProperty
Defines the TextAlignment DependencyProperty
TextProperty : DependencyProperty
Defines the Text DependencyProperty
TextStretchProperty : DependencyProperty
Defines the TextStretch DependencyProperty