WpfAnnotationUI Methods |
The WpfAnnotationUI type exposes the following members.
Name | Description | |
---|---|---|
AddVisualChild | Defines the parent-child relationship between two visuals. (Inherited from Visual.) | |
AttachGrips |
This method is called by the WpfAnnotationCanvas to ask the annotation for Grip creation.
| |
AttachGripsOverride |
Called when the annotation grips need to be created.
| |
CalculateGeometry |
Calculates the geometry of the annotation with the specified parameters.
| |
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) | |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
Clone |
Creates a copy of the anotation.
| |
CloneOverride |
Derived classes must override this method and return a copy of itself.
| |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) | |
CreateDataSnapshot |
This method creates an AnnotationData copy of this annotation for serialization.
| |
CreateDataSnapshotOverride |
This method is used to serialize the annotation.
| |
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindCommonVisualAncestor | Returns the common ancestor of two visual objects. (Inherited from Visual.) | |
GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
GetVisualChild | Returns the specified Visual in the parent VisualCollection. (Inherited from Visual.) | |
HitTest |
This method will determine whether the specified point is on the annotation.
| |
HitTestCore(GeometryHitTestParameters) | Determines whether a geometry value is within the bounds of the visual object. (Inherited from Visual.) | |
HitTestCore(PointHitTestParameters) |
Determines whether a point coordinate value is within the bounds of the visual object.
(Overrides VisualHitTestCore(PointHitTestParameters).) | |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
InvalidateVisual |
Forces the annotation to redraw itself.
| |
IsAncestorOf | Determines whether the visual object is an ancestor of the descendant visual object. (Inherited from Visual.) | |
IsDescendantOf | Determines whether the visual object is a descendant of the ancestor visual object. (Inherited from Visual.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Mirror |
Mirrors the annotation in the specified direction.
| |
OnAnnotationBrushChanged |
Called when the FillProperty has changed.
| |
OnAnnotationCreated |
Called after the annotation has been created.
| |
OnAnnotationFontChanged |
Called when the FontProperty has changed.
| |
OnAnnotationPenChanged |
Called when the OutlineProperty has changed.
| |
OnCanvasChanged |
Called when the Canvas property has changed.
| |
OnGripPositionChanged |
Called when a grip for the annotation has moved.
| |
OnMouseDown |
Called when a MouseDown event has been raised for the annotation.
| |
OnMouseMove |
Called when a MouseMove event has been raised for the annotation.
| |
OnMouseUp |
Called when a MouseUp event has been raised for the annotation.
| |
OnPropertyChanged |
Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data.
(Overrides DependencyObjectOnPropertyChanged(DependencyPropertyChangedEventArgs).) | |
OnRotateDocument |
Called when the document has been rotated.
| |
OnSelectedChanged |
Called when the Selected property has been changed.
| |
OnVisualChildrenChanged | Called when the VisualCollection of the visual object is modified. (Inherited from Visual.) | |
OnVisualParentChanged | Called when the parent of the visual object is changed. (Inherited from Visual.) | |
OperationRequest |
Called when a request operation has been raised on the annotation.
| |
PointFromScreen | Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. (Inherited from Visual.) | |
PointToScreen | Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. (Inherited from Visual.) | |
PredetermineRenderBounds |
This method is used to calculate the expected render bounds of an annotation if its rotation was changed.
| |
RaiseEvent |
This method is used to force an event in the annotation.
| |
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
Remove |
This method will remove the annotation from its parent layer.
| |
RemoveVisualChild | Removes the parent-child relationship between two visuals. (Inherited from Visual.) | |
ReplaceGrips |
Call this method to replace the current annotation grips with new grips.
| |
ResetMirrorVariables |
This method will reset the internal Matrix used for mirroring.
| |
Rotate |
This method will append a rotation to the annotation's current rotation.
| |
SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
SetTransparency |
Sets the alpha values for the Fill and Outline of the annotation.
| |
SetUserHasCreated |
Derived class should call this method to indicate that their creation process has completed.
| |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TransformToAncestor(Visual) | Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. (Inherited from Visual.) | |
TransformToAncestor(Visual3D) | Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. (Inherited from Visual.) | |
TransformToDescendant | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. (Inherited from Visual.) | |
TransformToVisual | Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. (Inherited from Visual.) | |
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |