AVEVA OMI Software Developer Kit



The element to adorn.
CleanupAdorner Method
Similar to Dispose() pattern. CleanupAdorner releases and cleans up objects associated with an adorned element.

Monitoring of the underlying hierarchy item stops if the adorner's UI element is the last one referencing the underlying hierarchy item.

Syntax
'Declaration
 
Public Shared Sub CleanupAdorner( _
   ByVal adornedElement As FrameworkElement _
) 
'Usage
 
Dim adornedElement As FrameworkElement
 
AlarmAdorner.CleanupAdorner(adornedElement)
public static void CleanupAdorner( 
   FrameworkElement adornedElement
)
public:
static void CleanupAdorner( 
   FrameworkElement^ adornedElement
) 

Parameters

adornedElement
The element to adorn.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also