Skip to end of metadata
Go to start of metadata

Summary description for FieldTypeEditor.

Definition

public class FieldTypeEditor : UITypeEditor

Summary

The following table summarizes the members exposed in this class.

Public Constructors

FieldTypeEditor Constructor() Initializes a new instance of the FieldTypeEditor class.

Public Methods

EditValue(ITypeDescriptorContext, IServiceProvider, object) This is an override from UITypeEditor. The property grid will call this when it wants to display the editor for the given value.
GetEditStyle(ITypeDescriptorContext) This is an override from UITypeEditor. The editor style indicates what type of editor we are providing: we can either display a dialog or a drop-down box. Our editor always shows a drop-down box.
GetPaintValueSupported(ITypeDescriptorContext) This is an override from UITypeEditor and indicates if we support painting a small representation of our value in the property grid.

Public Constructors

public FieldTypeEditor()

Public Methods

public object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)

This is an override from UITypeEditor. The property grid will call this when it wants to display the editor for the given value.

Parameters

context
provider
value

public UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)

This is an override from UITypeEditor. The editor style indicates what type of editor we are providing: we can either display a dialog or a drop-down box. Our editor always shows a drop-down box.

Parameters

context

public bool GetPaintValueSupported(ITypeDescriptorContext context)

This is an override from UITypeEditor and indicates if we support painting a small representation of our value in the property grid.

Parameters

context
  • No labels