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