OPC Studio User's Guide and Reference
GetExtensions Method



OpcLabs.BaseLibPresentation Assembly > OpcLabs.BaseLib.Presentation.ComponentModel Namespace > Live Class : GetExtensions Method
The element from which the property value is read.
Gets the value of the Extensions attached property for a specified System.Windows.UIElement.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<BrowsableAttribute(False)>
<AttachedPropertyBrowsableForTypeAttribute(System.Windows.UIElement)>
Public Shared Function GetExtensions( _
   ByVal element As UIElement _
) As ElementExtensions
'Usage
 
Dim element As UIElement
Dim value As ElementExtensions
 
value = Live.GetExtensions(element)
[CanBeNull()]
[Browsable(false)]
[AttachedPropertyBrowsableForType(System.Windows.UIElement)]
public static ElementExtensions GetExtensions( 
   UIElement element
)
[CanBeNull()]
[Browsable(false)]
[AttachedPropertyBrowsableForType(System.Windows.UIElement)]
public:
static ElementExtensions^ GetExtensions( 
   UIElement^ element
) 

Parameters

element
The element from which the property value is read.

Return Value

The Extensions property value for the element.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also