Click or drag to resize
Sandcastle Help File BuilderFlagsEnumEditor Class
This is a type editor that displays a checked list box as the drop-down editor for an enumerated data type that represents a set of flags. This makes it easy to select multiple values with the drop-down.
Inheritance Hierarchy
SystemObject
  System.Drawing.DesignUITypeEditor
    SandcastleBuilder.Utils.DesignFlagsEnumEditor

Namespace: SandcastleBuilder.Utils.Design
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public class FlagsEnumEditor : UITypeEditor

The FlagsEnumEditor type exposes the following members.

Constructors
  NameDescription
Public methodFlagsEnumEditor
Initializes a new instance of the FlagsEnumEditor class
Top
Methods
  NameDescription
Public methodEditValue(IServiceProvider, Object)
Edits the value of the specified object using the editor style indicated by the GetEditStyle method.
(Inherited from UITypeEditor.)
Public methodEditValue(ITypeDescriptorContext, IServiceProvider, Object)
This is overridden to edit the value using a checked list box control as the drop-down editor.
(Overrides UITypeEditorEditValue(ITypeDescriptorContext, IServiceProvider, Object).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEditStyle
Gets the editor style used by the EditValue(IServiceProvider, Object) method.
(Inherited from UITypeEditor.)
Public methodGetEditStyle(ITypeDescriptorContext)
This is overridden to specify the editor's edit style
(Overrides UITypeEditorGetEditStyle(ITypeDescriptorContext).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPaintValueSupported
Indicates whether this editor supports painting a representation of an object's value.
(Inherited from UITypeEditor.)
Public methodGetPaintValueSupported(ITypeDescriptorContext)
Indicates whether the specified context supports painting a representation of an object's value within the specified context.
(Inherited from UITypeEditor.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPaintValue(PaintValueEventArgs)
Paints a representation of the value of an object using the specified PaintValueEventArgs.
(Inherited from UITypeEditor.)
Public methodPaintValue(Object, Graphics, Rectangle)
Paints a representation of the value of the specified object to the specified canvas.
(Inherited from UITypeEditor.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyIsDropDownResizable
Gets a value indicating whether drop-down editors should be resizable by the user.
(Inherited from UITypeEditor.)
Top
See Also