Share via


FlagEnumerationEditor.GetEditStyle Method (ITypeDescriptorContext)

Gets the editor style used by the EditValue method.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Overrides Function GetEditStyle ( _
    context As ITypeDescriptorContext _
) As UITypeEditorEditStyle
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public override UITypeEditorEditStyle GetEditStyle(
    ITypeDescriptorContext context
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
public:
virtual UITypeEditorEditStyle GetEditStyle(
    ITypeDescriptorContext^ context
) override
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract GetEditStyle : 
        context:ITypeDescriptorContext -> UITypeEditorEditStyle 
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
override GetEditStyle : 
        context:ITypeDescriptorContext -> UITypeEditorEditStyle 
public override function GetEditStyle(
    context : ITypeDescriptorContext
) : UITypeEditorEditStyle

Parameters

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

See Also

Reference

FlagEnumerationEditor Class

GetEditStyle Overload

Microsoft.VisualStudio.Modeling.Design Namespace

EditValue