Namespace: Consultingwerk.Windows.Framework.Repository.Object
Class 
SmartPropertyGridControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl

File:SmartPropertyGridControl
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed May 25 18:01:09 CEST 2016



Top Method Summary
Options Name Purpose
+ DisplayProperties (character) Displays the properties of the selected object instance
- InitializeComponent () Initializes the Visual Design
# OnPropertyValueChanged (PropertyValueChangedEventArgs) Raises the PropertyValueChanged
# System.Object PropertyValue (handle) Returns the Property value as a System.Object
- radPropertyGrid1_EditorInitialized (Object, PropertyGridItemEditorInitializedEventArgs) Event handler for the EditorRequired event of the radPropertyGrid1
- radPropertyGrid1_EditorRequired (Object, PropertyGridEditorRequiredEventArgs) Event handler for the EditorRequired event of the radPropertyGrid1
- radPropertyGrid1_PropertyValueChanged (Object, PropertyGridItemValueChangedEventArgs) Event handler for the PropertyValueChanged event of the radPropertyGrid1
+ UpdateProperties (character, character) Updates the values in the property grid after the property was changed in the attribute temp-table

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

Top Event Summary
Options Name Purpose
+ PropertyValueChanged (Object, PropertyValueChangedEventArgs) Raised when the user changes a property value in the property grid

Top Property Summary
Options Name Purpose
+ HANDLE AttributeTempTable
+ HANDLE InstancesTempTable


Method Detail
Top

PUBLIC DisplayProperties (character)

Purpose: Displays the properties of the selected object instance
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the selected object instance
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED OnPropertyValueChanged (PropertyValueChangedEventArgs)

Purpose: Raises the PropertyValueChanged
Notes:

Parameters:
e Consultingwerk.Windows.Framework.Repository.Object.PropertyValueChangedEventArgs
The PropertyValueChangedEventArgs with the data for the event
Top

PROTECTED System.Object PropertyValue (handle)

Purpose: Returns the Property value as a System.Object
Notes:

Parameters:
phBuffer HANDLE
The handle of the buffer containing the attribute definition and value
Returns System.Object
The property value
Top

PRIVATE radPropertyGrid1_EditorInitialized (Object, PropertyGridItemEditorInitializedEventArgs)

Purpose: Event handler for the EditorRequired event of the radPropertyGrid1
Notes:

Parameters:
sender System.Object
The reference to the control that raised the event
e Telerik.WinControls.UI.PropertyGridItemEditorInitializedEventArgs
The PropertyGridEditorRequiredEventArgs with the data for this event
Top

PRIVATE radPropertyGrid1_EditorRequired (Object, PropertyGridEditorRequiredEventArgs)

Purpose: Event handler for the EditorRequired event of the radPropertyGrid1
Notes:

Parameters:
sender System.Object
The reference to the control that raised the event
e Telerik.WinControls.UI.PropertyGridEditorRequiredEventArgs
The PropertyGridEditorRequiredEventArgs with the data for this event
Top

PRIVATE radPropertyGrid1_PropertyValueChanged (Object, PropertyGridItemValueChangedEventArgs)

Purpose: Event handler for the PropertyValueChanged event of the radPropertyGrid1
Notes:

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

PUBLIC UpdateProperties (character, character)

Purpose: Updates the values in the property grid after the property
was changed in the attribute temp-table
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the object instance
pcPropertyList CHARACTER
The comma delimited list of property names to update


Constructor Detail
Top

PUBLIC SmartPropertyGridControl ()

Purpose: Constructor for the SmartPropertyGridControl class
Notes:



Event Detail
Top

PUBLIC PropertyValueChanged (Object, PropertyValueChangedEventArgs)

Purpose: Raised when the user changes a property value in the property grid
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the PropertyValueChanged event
e Consultingwerk.Windows.Framework.Repository.Object.PropertyValueChangedEventArgs
The PropertyValueChangedEventArgs with the data for the event


Property Detail
Top

PUBLIC HANDLE AttributeTempTable


Returns HANDLE
Top

PUBLIC HANDLE InstancesTempTable


Returns HANDLE


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:45:51