ComponentExtensionsInvokeUITypeEditorT(Component, String) Method
Invokes the default UITypeEditor to edit the specified property.
Namespace: DevCase.Extensions.ComponentExtensionsAssembly: 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 Component component,
string propertyName
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function InvokeUITypeEditor(Of T) (
component As Component,
propertyName As String
) As T
Dim component As Component
Dim propertyName As String
Dim returnValue As T
returnValue = component.InvokeUITypeEditor(propertyName)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
generic<typename T>
static T InvokeUITypeEditor(
Component^ component,
String^ propertyName
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member InvokeUITypeEditor :
component : Component *
propertyName : string -> 'T
No code example is currently available or this language may not be supported.
- component Component
-
The source Component.
- 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
Component. 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.