C# Class Habanero.Binding.PropertyDescriptorPropDef

This is a PropertyDescriptor that wraps the IUIGridColumn for cases where the GridColumn references a IPropDef.
Inheritance: System.ComponentModel.PropertyDescriptor
Afficher le fichier Open project: Chillisoft/habanero.binding Class Usage Examples

Private Properties

Свойство Type Description
CheckComponentType void
GetBOProp IBOProp
GetBusinessObject IBusinessObject
IsComponentDirty bool
IsCurrentValueNonDefault bool

Méthodes publiques

Méthode Description
CanResetValue ( object component ) : bool
GetValue ( object component ) : object
PropertyDescriptorPropDef ( IUIGridColumn gridColumn ) : System
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.

Private Methods

Méthode Description
CheckComponentType ( object component ) : void
GetBOProp ( IBusinessObject bo ) : IBOProp
GetBusinessObject ( object component ) : IBusinessObject
IsComponentDirty ( object component ) : bool
IsCurrentValueNonDefault ( 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

PropertyDescriptorPropDef() public méthode

public PropertyDescriptorPropDef ( IUIGridColumn gridColumn ) : System
gridColumn IUIGridColumn
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

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
public ShouldSerializeValue ( object component ) : bool
component object The component with the property to be examined for persistence.
Résultat bool