ControlExtensionsInvokeUITypeEditorT(Control, String) Method
Invokes the default UITypeEditor to edit the specified property.
Namespace: DevCase.Extensions.ControlExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static T InvokeUITypeEditor<T>(
this Control control,
string propertyName
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function InvokeUITypeEditor(Of T) (
control As Control,
propertyName As String
) As T
Dim control As Control
Dim propertyName As String
Dim returnValue As T
returnValue = control.InvokeUITypeEditor(propertyName)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
generic<typename T>
static T InvokeUITypeEditor(
Control^ control,
String^ propertyName
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member InvokeUITypeEditor :
control : Control *
propertyName : string -> 'T
No code example is currently available or this language may not be supported.
- control Control
-
The source Control.
- propertyName String
-
The name of the property to edit.
- T
T
The resulting value returned by the invoked
UITypeEditor.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
This is a code example.
No code example is currently available or this language may not be supported.
Dim lb As ListBox = Me.ListBox1
Dim propName As String = NameOf(lb.Items)
Dim value As ListBox.ObjectCollection = lb.InvokeUITypeEditor(Of ListBox.ObjectCollection)(propName)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.