FlagEnumerationEditor.GetEditStyle Method (ITypeDescriptorContext)
Gets the editor style used by the EditValue method.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Overrides Function GetEditStyle ( _
context As ITypeDescriptorContext _
) As UITypeEditorEditStyle
public override UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext context
)
public:
virtual UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext^ context
) override
abstract GetEditStyle :
context:ITypeDescriptorContext -> UITypeEditorEditStyle
override GetEditStyle :
context:ITypeDescriptorContext -> UITypeEditorEditStyle
public override function GetEditStyle(
context : ITypeDescriptorContext
) : UITypeEditorEditStyle
Parameters
context
Type: System.ComponentModel.ITypeDescriptorContextA context descriptor that can be used to gain additional context information.
Return Value
Type: System.Drawing.Design.UITypeEditorEditStyle
The style of editor used by the EditValue method. DropDown in all cases.
Remarks
In a derived class, you can override this method to customize how flag domain enumerations are edited.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.