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
ファイルを表示 Open project: Chillisoft/habanero.binding Class Usage Examples

Private Properties

Property Type Description
CheckComponentType void
GetBOProp IBOProp
GetBusinessObject IBusinessObject
IsComponentDirty bool
IsCurrentValueNonDefault bool

Public Methods

Method 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

Method 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 method

public CanResetValue ( object component ) : bool
component object
return bool

GetValue() public method

public GetValue ( object component ) : object
component object
return object

PropertyDescriptorPropDef() public method

public PropertyDescriptorPropDef ( IUIGridColumn gridColumn ) : System
gridColumn IUIGridColumn
return System

ResetValue() public method

public ResetValue ( object component ) : void
component object
return void

SetValue() public method

public SetValue ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

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.
return bool