Click or drag to resize
Accord.NET (logo)

NumericCollectionEditor Class

Type editor for numeric collections.
Inheritance Hierarchy
SystemObject
  System.Drawing.DesignUITypeEditor
    Accord.ControlsNumericCollectionEditor

Namespace:  Accord.Controls
Assembly:  Accord.Controls (in Accord.Controls.dll) Version: 3.8.0
Syntax
public class NumericCollectionEditor : UITypeEditor
Request Example View Source

The NumericCollectionEditor type exposes the following members.

Constructors
  NameDescription
Public methodNumericCollectionEditor
Initializes a new instance of the NumericCollectionEditor class.
Top
Properties
  NameDescription
Public propertyCollectionItemType
Gets the type of the items contained in the collection.
Public propertyCollectionType
Gets the type of the collection.
Public propertyIsDropDownResizable
Gets a value indicating whether drop-down editors should be resizable by the user.
(Inherited from UITypeEditor.)
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)
Edits the specified object's value using the editor style indicated by the GetEditStyle method.
(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)
Gets the editor style used by the EditValue(IServiceProvider, Object) method.
(Overrides UITypeEditorGetEditStyle(ITypeDescriptorContext).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetItems
Gets the items in the collection as a 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 methodSetItems
Sets the items in the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks
This class can be used to edit numeric collections more easily in property grids.
See Also