C# Класс NArrange.Gui.Configuration.ConfigurationElementTypeDescriptionProvider.ElementCollectionPropertyDescriptor

Elements property descriptor.
Наследование: System.ComponentModel.PropertyDescriptor
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CanResetValue() публичный Метод

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.
Результат bool

ElementCollectionPropertyDescriptor() публичный Метод

Creates a new ElementCollectionPropertyDescriptor.
public ElementCollectionPropertyDescriptor ( PropertyDescriptor originalProperty ) : System
originalProperty System.ComponentModel.PropertyDescriptor The original property.
Результат System

GetEditor() публичный Метод

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.
Результат object

GetValue() публичный Метод

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.
Результат object

ResetValue() публичный Метод

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.
Результат void

SetValue() публичный Метод

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.
Результат void

ShouldSerializeValue() публичный Метод

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.
Результат bool