Namespace: Consultingwerk.Windows.Controls
Class 
PropertySheetControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl

File:PropertySheetControl
Purpose:Dynamic property sheet for ABL objects implementing the
Consultingwerk.Framework.TypeDescriptor.IHasTypeDescriptor
interface
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Apr 29 18:57:59 CEST 2015



Top Method Summary
Options Name Purpose
+ Assign () Assigns the object properties
+ Clear () Clears the Control
# System.Windows.Forms.Control CreateControl (IPropertyDescriptor, integer) Creates a editor control
# Infragistics.Win.Misc.UltraLabel CreateLabel (IPropertyDescriptor, integer) Creates a label control
# DisposedHandler (Object, EventArgs) Event handler for the Disposed event of the user control
- InitializeComponent () Initializes the Visual Design
# OnPropertyChanged (PropertyChangedEventArgs) Raises the PropertyChanged
+ RefreshPropertySheet () Refreshes the field values shown in the property sheet with the current values from the object instance
# RenderProperties (ITypeDescriptor) Renders the properties on the user control
# TextChangedHandler (Object, EventArgs) Event handler for the TextChanged event of the dynamically created Controls

Top Constructor Summary
Options Name Purpose
+ PropertySheetControl () Constructor for the PropertySheetControl class

Top Event Summary
Options Name Purpose
+ PropertyChanged (Object, PropertyChangedEventArgs) Raised when a property value has changed

Top Property Summary
Options Name Purpose
+ Consultingwerk.Framework.TypeDescriptor.IHasTypeDescriptor ObjectReference


Method Detail
Top

PUBLIC Assign ()

Purpose: Assigns the object properties
Notes:

Top

PUBLIC Clear ()

Purpose: Clears the Control
Notes:

Top

PROTECTED System.Windows.Forms.Control CreateControl (IPropertyDescriptor, integer)

Purpose: Creates a editor control
Notes:

Parameters:
poProperty Consultingwerk.Framework.TypeDescriptor.IPropertyDescriptor
The Property to create a label for
piTop INTEGER
The Top Coordinate for the Control
Returns System.Windows.Forms.Control
The reference to the generated label control
Top

PROTECTED Infragistics.Win.Misc.UltraLabel CreateLabel (IPropertyDescriptor, integer)

Purpose: Creates a label control
Notes:

Parameters:
poProperty Consultingwerk.Framework.TypeDescriptor.IPropertyDescriptor
The Property to create a label for
piTop INTEGER
The Top Coordinate for the Control
Returns Infragistics.Win.Misc.UltraLabel
The reference to the generated label control
Top

PROTECTED DisposedHandler (Object, EventArgs)

Purpose: Event handler for the Disposed event of the user control
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED OnPropertyChanged (PropertyChangedEventArgs)

Purpose: Raises the PropertyChanged
Notes:

Parameters:
e Consultingwerk.Windows.Controls.PropertyChangedEventArgs
The PropertyChangedEventArgs with the data for the event
Top

PUBLIC RefreshPropertySheet ()

Purpose: Refreshes the field values shown in the property sheet with the
current values from the object instance
Notes:

Top

PROTECTED RenderProperties (ITypeDescriptor)

Purpose: Renders the properties on the user control
Notes:

Parameters:
poTypeDescriptor Consultingwerk.Framework.TypeDescriptor.ITypeDescriptor
The reference to the type descriptor to render properties from
Top

PROTECTED TextChangedHandler (Object, EventArgs)

Purpose: Event handler for the TextChanged event of the dynamically created
Controls
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event


Constructor Detail
Top

PUBLIC PropertySheetControl ()

Purpose: Constructor for the PropertySheetControl class
Notes:



Event Detail
Top

PUBLIC PropertyChanged (Object, PropertyChangedEventArgs)

Purpose: Raised when a property value has changed
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the PropertyChanged event
e Consultingwerk.Windows.Controls.PropertyChangedEventArgs
The PropertyChangedEventArgs with the data for the event


Property Detail
Top

PUBLIC Consultingwerk.Framework.TypeDescriptor.IHasTypeDescriptor ObjectReference


Returns Consultingwerk.Framework.TypeDescriptor.IHasTypeDescriptor


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:25:12