C# Class FlatRedBall.Gui.PropertyWindowAssociation

Base non-generic class for the generic PropertyWindowAssociation class.
Contains information about an element in the PropertyGrid. Information includes the UI element displaying the property, its associated Label, the member name, read/write permissions, and category.
显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
ClearChangeEvent void
IncludeAndExcludeAccordingToValue void
PropertyWindowAssociation System

Public Methods

Method Description
OnMemberChanged ( IWindow callingWindow, PropertyGrid parentPropertyGrid ) : void
SetPropertyFor ( PropertyGrid propertyGrid, object objectToSet ) : void
ToString ( ) : string

Private Methods

Method Description
ClearChangeEvent ( ) : void
IncludeAndExcludeAccordingToValue ( PropertyGrid propertyGrid ) : void
PropertyWindowAssociation ( IWindow window, TextDisplay label, Type type, string memberName, bool canRead, bool canWrite, MemberTypes memberType, bool isStatic ) : System

Method Details

OnMemberChanged() public method

public OnMemberChanged ( IWindow callingWindow, PropertyGrid parentPropertyGrid ) : void
callingWindow IWindow
parentPropertyGrid PropertyGrid
return void

SetPropertyFor() public method

public SetPropertyFor ( PropertyGrid propertyGrid, object objectToSet ) : void
propertyGrid PropertyGrid
objectToSet object
return void

ToString() public method

public ToString ( ) : string
return string