C# 클래스 Accord.Controls.NumericCollectionEditor

Type editor for numeric collections.
This class can be used to edit numeric collections more easily in property grids.
상속: System.Drawing.Design.UITypeEditor
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object

Edits the specified object's value using the editor style indicated by the M:System.Drawing.Design.UITypeEditor.GetEditStyle method.

GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle

Gets the editor style used by the M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.

GetItems ( object editValue ) : object[]

Gets the items in the collection as a T:object[].

NumericCollectionEditor ( ) : System

Initializes a new instance of the NumericCollectionEditor class.

SetItems ( object editValue, object values ) : void

Sets the items in the collection.

비공개 메소드들

메소드 설명
detectCollectionType ( ) : Type

메소드 상세

EditValue() 공개 메소드

Edits the specified object's value using the editor style indicated by the M:System.Drawing.Design.UITypeEditor.GetEditStyle method.
public EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object
context ITypeDescriptorContext An that can be used to gain additional context information.
provider IServiceProvider An that this editor can use to obtain services.
value object The object to edit.
리턴 object

GetEditStyle() 공개 메소드

Gets the editor style used by the M:System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.
public GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle
context ITypeDescriptorContext An that can be used to gain additional context information.
리턴 UITypeEditorEditStyle

GetItems() 공개 메소드

Gets the items in the collection as a T:object[].
public GetItems ( object editValue ) : object[]
editValue object The collection object being edited.
리턴 object[]

NumericCollectionEditor() 공개 메소드

Initializes a new instance of the NumericCollectionEditor class.
public NumericCollectionEditor ( ) : System
리턴 System

SetItems() 공개 메소드

Sets the items in the collection.
public SetItems ( object editValue, object values ) : void
editValue object The collection object being edited.
values object The objects to be added in the collection.
리턴 void