C# Class Nexus.UI.FlagEnumUITypeEditor

An UITypeEditor that allows simple editing of flag enums in property grids.
Inheritance: System.Drawing.Design.UITypeEditor
Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object

Edits the given value.

FlagEnumUITypeEditor ( ) : System

The default constructor.

GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle

Gets the style of the editor.

Method Details

EditValue() public method

Edits the given value.
public EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object
context ITypeDescriptorContext The context that provides information about the editing.
provider IServiceProvider The provider to use to get required services.
value object The value to edit.
return object

FlagEnumUITypeEditor() public method

The default constructor.
public FlagEnumUITypeEditor ( ) : System
return System

GetEditStyle() public method

Gets the style of the editor.
public GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle
context ITypeDescriptorContext The context that provides information about the editing.
return UITypeEditorEditStyle