C# Class Core.Gui.PropertyBag.ReadOnlyPropertyDescriptorDecorator

A decorator PropertyDescriptor that forces IsReadOnly to true regardless of the wrapped PropertyDescriptor.
Inheritance: PropertyDescriptor
Afficher le fichier Open project: Deltares/Riskeer

Méthodes publiques

Méthode Description
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

Method Details

CanResetValue() public méthode

public CanResetValue ( object component ) : bool
component object
Résultat bool

GetValue() public méthode

public GetValue ( object component ) : object
component object
Résultat object

ReadOnlyPropertyDescriptorDecorator() public méthode

Initializes a new instance of the ReadOnlyPropertyDescriptorDecorator class.
public ReadOnlyPropertyDescriptorDecorator ( PropertyDescriptor propertyDescriptor ) : System
propertyDescriptor PropertyDescriptor The property descriptor to be wrapped.
Résultat System

ResetValue() public méthode

public ResetValue ( object component ) : void
component object
Résultat void

SetValue() public méthode

public SetValue ( object component, object value ) : void
component object
value object
Résultat void

ShouldSerializeValue() public méthode

public ShouldSerializeValue ( object component ) : bool
component object
Résultat bool