C# Class NArrange.Gui.Configuration.ConfigurationElementTypeDescriptionProvider.ElementCollectionPropertyDescriptor

Elements property descriptor.
Inheritance: System.ComponentModel.PropertyDescriptor
ファイルを表示 Open project: MarcStan/NArrange

Public Methods

Method Description
CanResetValue ( object component ) : bool

Gets a value indicating whether or not the properties value can be reset for the specified component.

ElementCollectionPropertyDescriptor ( PropertyDescriptor originalProperty ) : System

Creates a new ElementCollectionPropertyDescriptor.

GetEditor ( Type editorBaseType ) : object

Gets the editor for this property.

GetValue ( object component ) : object

Gets the property value for the specified component.

ResetValue ( object component ) : void

Resets the value for this property.

SetValue ( object component, object value ) : void

Sets the value for this property.

ShouldSerializeValue ( object component ) : bool

Gets a value indicating whether the property should be serialized by designers.

Method Details

CanResetValue() public method

Gets a value indicating whether or not the properties value can be reset for the specified component.
public CanResetValue ( object component ) : bool
component object The component to test for reset capability.
return bool

ElementCollectionPropertyDescriptor() public method

Creates a new ElementCollectionPropertyDescriptor.
public ElementCollectionPropertyDescriptor ( PropertyDescriptor originalProperty ) : System
originalProperty System.ComponentModel.PropertyDescriptor The original property.
return System

GetEditor() public method

Gets the editor for this property.
public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type The base type of editor, which is used to differentiate between multiple editors that a property supports.
return object

GetValue() public method

Gets the property value for the specified component.
public GetValue ( object component ) : object
component object The component with the property for which to retrieve the value.
return object

ResetValue() public method

Resets the value for this property.
public ResetValue ( object component ) : void
component object The component with the property value that is to be reset to the default value.
return void

SetValue() public method

Sets the value for this property.
public SetValue ( object component, object value ) : void
component object The component with the property value that is to be set.
value object The new value.
return void

ShouldSerializeValue() public method

Gets a value indicating whether the property should be serialized by designers.
public ShouldSerializeValue ( object component ) : bool
component object The component with the property to be examined for persistence.
return bool