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 value of this parameter cannot be null (Nothing in Visual Basic).

The needed ElementExtensions value.

The value of this parameter can be null (Nothing in Visual Basic).

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.

The value of this parameter cannot be null (Nothing in Visual Basic).

elementExtensions
The needed ElementExtensions value.

The value of this parameter can be null (Nothing in Visual Basic).

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