- context
- An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
Visual Basic (Declaration) | |
---|---|
Overloads Overrides Public Function GetEditStyle( _ ByVal context As ITypeDescriptorContext _ ) As UITypeEditorEditStyle |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As NonInteractiveEditor Dim context As ITypeDescriptorContext Dim value As UITypeEditorEditStyle value = instance.GetEditStyle(context) |
C# | |
---|---|
public override UITypeEditorEditStyle GetEditStyle( ITypeDescriptorContext context ) |
C++/CLI | |
---|---|
public: UITypeEditorEditStyle GetEditStyle( ITypeDescriptorContext^ context ) override |
Parameters
- context
- An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
Return Value
A System.Drawing.Design.UITypeEditorEditStyle value that indicates the style of editor used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method. If the System.Drawing.Design.UITypeEditor does not support this method, then System.Drawing.Design.UITypeEditor.GetEditStyle will return System.Drawing.Design.UITypeEditorEditStyle.None.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7