[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Win.FlagEnumUiEditor

FlagEnumUiEditor Class

UITypeEditor for flag enums This implementation has taken from http://www.codeproject.com/Articles/13793/A-UITypeEditor-for-easy-editing-of-flag-enum-prope with minor refactoring

Inheritance
FlagEnumUiEditor
Namespace: GrapeCity.ActiveReports.Viewer.Win
Assembly: MESCIUS.ActiveReports.Viewer.Win.dll
Syntax
public class FlagEnumUiEditor : UITypeEditor

Constructors

Name Description
FlagEnumUiEditor()

Initializes a new instance of the FlagEnumUiEditor class.

FlagEnumUiEditor(ResourceManager)

Initializes a new instance of the FlagEnumUiEditor class.

Methods

Name Description
EditValue(ITypeDescriptorContext, IServiceProvider, object)

Edits the specified object's value using the editor style indicated by the GetEditStyle() method.

GetEditStyle(ITypeDescriptorContext)

Gets the editor style used by the EditValue(IServiceProvider, object) method.