OPC Studio User's Guide and Reference
SetExtensions Method



OpcLabs.BaseLibPresentation Assembly > OpcLabs.BaseLib.Presentation.ComponentModel Namespace > Live Class : SetExtensions Method
The element to which the attached property is written.
The needed ElementExtensions value.
Sets the value of the Extensions attached property to a specified element.
Syntax
'Declaration
 
Public Shared Sub SetExtensions( _
   ByVal element As UIElement, _
   ByVal elementExtensions As ElementExtensions _
) 
'Usage
 
Dim element As UIElement
Dim elementExtensions As ElementExtensions
 
Live.SetExtensions(element, elementExtensions)
public static void SetExtensions( 
   UIElement element,
   ElementExtensions elementExtensions
)
public:
static void SetExtensions( 
   UIElement^ element,
   ElementExtensions^ elementExtensions
) 

Parameters

element
The element to which the attached property is written.
elementExtensions
The needed ElementExtensions value.
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