| FlagsEnumEditorGetEditStyle Method (ITypeDescriptorContext) |
This is overridden to specify the editor's edit style
Namespace: SandcastleBuilder.Utils.DesignAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax public override UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext context
)
Public Overrides Function GetEditStyle (
context As ITypeDescriptorContext
) As UITypeEditorEditStyle
public:
virtual UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext^ context
) override
abstract GetEditStyle :
context : ITypeDescriptorContext -> UITypeEditorEditStyle
override GetEditStyle :
context : ITypeDescriptorContext -> UITypeEditorEditStyle
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
The descriptor context
Return Value
Type:
UITypeEditorEditStyleAlways returns
DropDown as long as there is a context and an instance. Otherwise, it
returns
None.
See Also