Class EnumFlagsEditor
EnumFlagsEditor implements a UITypeEditor for modifying a enum value that has been marked with the FlagsAttribute.
Inheritance
System.Object
EnumFlagsEditor
Namespace: Syncfusion.Windows.Forms.Design
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class EnumFlagsEditor : UITypeEditor
Remarks
The editor lets you check and uncheck individual flags in a dropdown CheckedListBox. A None button allows to reset all flags at once.
Constructors
EnumFlagsEditor()
Declaration
public EnumFlagsEditor()
Methods
EditValue(ITypeDescriptorContext, IServiceProvider, Object)
Declaration
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | |
System.IServiceProvider | provider | |
System.Object | value |
Returns
Type |
---|
System.Object |
GetEditStyle(ITypeDescriptorContext)
Declaration
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context |
Returns
Type |
---|
System.Drawing.Design.UITypeEditorEditStyle |