ESRI.ArcGIS.ADF.Tasks
GetEditStyle(ITypeDescriptorContext) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Tasks.Design.Editors Namespace > QueryAttributesEditor Class > GetEditStyle Method : GetEditStyle(ITypeDescriptorContext) Method




context
An ITypeDescriptorContext that can be used to gain additional context informationSystem.ComponentModel.ITypeDescriptorContext
Gets the editor style used by the EditValue method

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function GetEditStyle( _
   ByVal context As ITypeDescriptorContext _
) As UITypeEditorEditStyle
Visual Basic (Usage)Copy Code
Dim instance As QueryAttributesEditor
Dim context As ITypeDescriptorContext
Dim value As UITypeEditorEditStyle
 
value = instance.GetEditStyle(context)
C# 
public override UITypeEditorEditStyle GetEditStyle( 
   ITypeDescriptorContext context
)

Parameters

context
An ITypeDescriptorContext that can be used to gain additional context informationSystem.ComponentModel.ITypeDescriptorContext

Return Value

If the context is not null, the Style will always be returned as Modal, otherwise will return a default edit style

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.