Create(String,NWidget) Method
Creates a labeled widget pair box embedding both the label and the widget in unisize boxes.
'Declaration
Public Overloads Shared Function Create( _
ByVal As System.String, _
ByVal As NWidget _
) As NPairBox
'Usage
Dim labelText As System.String
Dim widget As NWidget
Dim value As NPairBox
value = NPairBox.Create(labelText, widget)
public static NPairBox Create(
System.string ,
NWidget
)
Parameters
- labelText
- The label text.
- widget
- The widget.
Return Value
A new NPairBox instance that contains a label and the specified widget.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)