C# Класс Core.Gui.PropertyBag.ReadOnlyPropertyDescriptorDecorator

A decorator PropertyDescriptor that forces IsReadOnly to true regardless of the wrapped PropertyDescriptor.
Наследование: PropertyDescriptor
Показать файл Открыть проект

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

Метод Описание
CanResetValue ( object component ) : bool
GetValue ( object component ) : object
ReadOnlyPropertyDescriptorDecorator ( PropertyDescriptor propertyDescriptor ) : System

Initializes a new instance of the ReadOnlyPropertyDescriptorDecorator class.

ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

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

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

public CanResetValue ( object component ) : bool
component object
Результат bool

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

public GetValue ( object component ) : object
component object
Результат object

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

Initializes a new instance of the ReadOnlyPropertyDescriptorDecorator class.
public ReadOnlyPropertyDescriptorDecorator ( PropertyDescriptor propertyDescriptor ) : System
propertyDescriptor PropertyDescriptor The property descriptor to be wrapped.
Результат System

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

public ResetValue ( object component ) : void
component object
Результат void

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

public SetValue ( object component, object value ) : void
component object
value object
Результат void

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

public ShouldSerializeValue ( object component ) : bool
component object
Результат bool