WpfAnnotationCanvasActivateControlElement Method |
Adds a child element to the canvas.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic void ActivateControlElement(
WpfAnnotationUI parentAnnotation,
UIElement element
)
Public Sub ActivateControlElement (
parentAnnotation As WpfAnnotationUI,
element As UIElement
)
Parameters
- parentAnnotation
- Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation associated with this element. - element
- Type: System.WindowsUIElement
The element to add.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if any argument is null (Nothing in VB). |
See Also