C# Class Accord.Controls.ArrayPropertyDescriptor

Provides an abstraction of array values.
Inheritance: System.ComponentModel.PropertyDescriptor
ファイルを表示 Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
ArrayPropertyDescriptor ( string name, Type type, int index ) : System

Constructs a new Array Property Descriptor.

CanResetValue ( object component ) : bool

Returns false.

GetValue ( object component ) : object

Gets a value from the array.

ResetValue ( object component ) : void

Does nothing.

SetValue ( object component, object value ) : void

Sets a value to the array.

ShouldSerializeValue ( object component ) : bool

Returns false.

Method Details

ArrayPropertyDescriptor() public method

Constructs a new Array Property Descriptor.
public ArrayPropertyDescriptor ( string name, Type type, int index ) : System
name string A title for the array.
type System.Type The type of the property being displayed.
index int The index to display.
return System

CanResetValue() public method

Returns false.
public CanResetValue ( object component ) : bool
component object
return bool

GetValue() public method

Gets a value from the array.
public GetValue ( object component ) : object
component object
return object

ResetValue() public method

Does nothing.
public ResetValue ( object component ) : void
component object
return void

SetValue() public method

Sets a value to the array.
public SetValue ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

Returns false.
public ShouldSerializeValue ( object component ) : bool
component object
return bool