Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetEditStyle(ITypeDescriptorContext) Method
See Also 
Leadtools.Dicom.Common.Editing.UI Namespace > SequenceEditor Class > GetEditStyle Method : GetEditStyle(ITypeDescriptorContext) Method



context
An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
context
An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
Gets the editor style used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.

Syntax

Visual Basic (Declaration) 
Overloads Overrides Public Function GetEditStyle( _
   ByVal context As ITypeDescriptorContext _
) As UITypeEditorEditStyle
Visual Basic (Usage)Copy Code
Dim instance As SequenceEditor
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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features