C# Class Nexus.UI.FlagEnumUITypeEditor

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat object

FlagEnumUITypeEditor() public méthode

The default constructor.
public FlagEnumUITypeEditor ( ) : System
Résultat System

GetEditStyle() public méthode

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