public class EnumFlagsEditor<TEnum> : UITypeEditor
where TEnum : struct, new()
Public Class EnumFlagsEditor(Of TEnum As {Structure, New})
Inherits UITypeEditor
Dim instance As EnumFlagsEditor(Of TEnum)generic<typename TEnum>
where TEnum : value class, gcnew()
public ref class EnumFlagsEditor : public UITypeEditortype EnumFlagsEditor<'TEnum when 'TEnum : struct, new()> =
class
inherit UITypeEditor
endNo code example is currently available or this language may not be supported.| EnumFlagsEditorTEnum | Initializes a new instance of the EnumFlagsEditorTEnum class. |
| IsDropDownResizable | Gets a value indicating whether drop-down editors should be resizable by the user. (Inherited from UITypeEditor) |
| EditValue(IServiceProvider, Object) | Edits the value of the specified object using the editor style indicated by the GetEditStyle method. (Inherited from UITypeEditor) |
| EditValue(ITypeDescriptorContext, IServiceProvider, Object) |
Edits the specified object's value using the editor style indicated by the GetEditStyle method.
(Overrides UITypeEditorEditValue(ITypeDescriptorContext, IServiceProvider, Object)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEditStyle | Gets the editor style used by the EditValue(IServiceProvider, Object) method. (Inherited from UITypeEditor) |
| GetEditStyle(ITypeDescriptorContext) |
Gets the editor style used by the EditValue(IServiceProvider, Object) method.
(Overrides UITypeEditorGetEditStyle(ITypeDescriptorContext)) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetPaintValueSupported | Indicates whether this editor supports painting a representation of an object's value. (Inherited from UITypeEditor) |
| GetPaintValueSupported(ITypeDescriptorContext) | Indicates whether the specified context supports painting a representation of an object's value within the specified context. (Inherited from UITypeEditor) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| PaintValue(PaintValueEventArgs) | Paints a representation of the value of an object using the specified PaintValueEventArgs. (Inherited from UITypeEditor) |
| PaintValue(Object, Graphics, Rectangle) | Paints a representation of the value of the specified object to the specified canvas. (Inherited from UITypeEditor) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |