Top Method Summary
Options Name Purpose
Activate () Invoked when the Designer is activated
AddOutlineNodes (UltraTreeNode, character) Adds notes to the outline view
BindDesignerData (dataset, dataset) Binds to the Designer Temp-Tables
CHARACTER BoundFieldName (character) Returns the name of the field the given field is bound field to
BuildRibbonPalette (RibbonTab) Builds Ribbon Tools for Palette items
ComponentMovedHandler (Object, EventArgs) Event handler for the Move event of the components on the design canvas
ComponentParentChangedHandler (Object, EventArgs) Event handler for the ParentChanged event of the components on the design canvas
ComponentResizedHandler (Object, EventArgs) Event handler for the Move event of the components on the design canvas
System.Drawing.Point ControlLocation (character) Returns the Control's Location
System.Drawing.Size ControlSize (character) Returns the Control's Size
Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.IComponentDesigner CreateComponentDesigner (character) Creates the component designer instance
CreateConditionalRibbonTab () Creates the Conditional Ribbon Tab for this designer
CreateDesignCanvasContextMenu () Creates the context menu (PopupMenuTool) for the design canvas
CreateSecurityField () Creates security fields for the selected viewer field
LOGICAL Deactivating () Invoked when the Designer is about to be deactivated
DeleteInstance () Deletes the selected instance
DesignerContextMenuRequestedHandler (Object, ContextMenuRequestedEventArgs) Event handler for the ContextMenuRequested event of the designer control
DestroyContextualRibbonTab () Destroys the Contextual Ribbon Tab in the Form's UltraToolbarsManager
DestroyDesigner () Allows the Container Designer Control to destroy resources
DestroyDesignerComponents (Control) Recursively destroys components on the Designer
DuplicateInstance () Duplicates the currently selected object instance on the design canvas
INTEGER GetHighestY () Returns the highest X value
INTEGER HighestSiblingY (character) Returns the bottom-most position (Y plus height) of the instances that share the given parent instance
InitializeComponent ()
InsertDatabaseField () Inserts a list of database fields to the viewer
InsertDataField () Inserts a Data Field
InsertDataFieldInstance (character, character, ISmartRepositoryService) Inserts an instance for this given data field
InsertFromPalette (character) Inserts a component on the design
InsertInstance () Inserts a new instance to the design canvas
InsertInstanceForMaster (character, character) Inserts a new instance of the given object master on the design canvas
LOGICAL IsBoundField (character) Returns if the given field is a bound field
LayoutHeight () Sets the height of the selected controls
LayoutLeftAlign () Left aligns the selected controls
LayoutVerticalDistance () Sets the vertical distance of the selected Controls
LayoutWidth () Sets the height of the selected controls
OnLoad (EventArgs) Raises the Load event
PaintHandler (Object, PaintEventArgs) Raises the Paint event
PropertyValueChangedHandler (Object, PropertyValueChangedEventArgs) Event handler for the PropertyValueChanged event of the Property Grid Control
LOGICAL PushUndoSnapshot (character) Pushes a snapshot of the designer temp-tables onto the undo stack
RefreshDesigner () Refreshes the Designer
System.Windows.Forms.Control RenderDesignInstance (Control, character) Renders a Control on the Design Surface
RenderDesignSurface () Renders the Visual Design
RenderDesignSurface (character, Control) Renders the Visual Design for one container level
ReplaceInstance () Replaces the currently selected Object Instance with another Object Master Notes : Delegates to the SmartObjectMasterForm so the same dialog and repository logic used on the "Instances" tab is reused here. After the replacement the owning form is reloaded via OpenObjectMaster, which also refreshes this designer. */
ResizeGestureTimerTickHandler (Object, EventArgs) Event handler for the Tick event of the resize gesture timer
SecurityFieldItemMaintenance () Creates security fields for the selected viewer field
SelectionChangedHandler (Object, EventArgs) Event handler for the SelectionChanged event of the SelectionService
SetSelectedControlsEnabled (logical) Sets the enabled-related design attributes of all currently selected control instances to the given value Notes : Affects the ENABLED, EnabledForAdd, EnabledForUpdate and EnabledOnCopy design attributes. Only attributes that are actually present on an instance are modified. @param plEnabled The logical value to assign to the enabled-related attributes */
ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event of the owning Form's ToolbarsManager
ultraTree1_MouseClick (Object, MouseEventArgs) Event handler for the MouseClick event of the tree
ultraTree1_MouseDoubleClick (Object, MouseEventArgs) Event handler for the MouseDoubleClick event of the tree
ultraTree1_VisibleChanged (Object, EventArgs) Event handler for the VisibleChanged event of the tree
UndoLastAction () Undoes the most recent change recorded on the undo stack
UndoStackChangedHandler (Object, EventArgs) Event handler for the StackChanged event of the undo stack
UpdateUndoToolState () Updates the enabled state and tooltip of the ribbon Undo button
ViewerAutofit () Auto fits the viewer

Top Constructor Summary
Options Name Purpose
ViewerDesignerControl () Constructor for the ViewerDesignerControl class

Top Property Summary
Options Name Purpose
Consultingwerk.Windows.Framework.Repository.Object.SmartPropertyGridControl PropertyGrid
Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager


Method Detail
Top

Activate ()

Purpose: Invoked when the Designer is activated
Notes: Typically invoked when the designer tab is shown again

Top

AddOutlineNodes (UltraTreeNode, character)

Purpose: Adds notes to the outline view
Notes:

Parameters:
poParentNode Infragistics.Win.UltraWinTree.UltraTreeNode
The parent tree node to add instances to
pcParentInstanceGuid CHARACTER
The parent instance guid
Top

BindDesignerData (dataset, dataset)

Purpose: Binds to the Designer Temp-Tables
Notes:

Parameters:
dsObjectMaster DATASET dsObjectMaster
DATASET BIND from Consultingwerk/SmartFramework/Repository/Object/dsObjectMaster.i
dsDesignAttributeValue DATASET dsDesignAttributeValue
DATASET BIND from Consultingwerk/SmartFramework/Repository/Class/dsDesignAttributeValue.i
Top

CHARACTER BoundFieldName (character)

Purpose: Returns the name of the field the given field is bound field to
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns CHARACTER
The name of the bound field
Top

BuildRibbonPalette (RibbonTab)

Purpose: Builds Ribbon Tools for Palette items
Notes:

Parameters:
poRibbonTab Infragistics.Win.UltraWinToolbars.RibbonTab
The RibbonTab to add the Palette items to
Top

ComponentMovedHandler (Object, EventArgs)

Purpose: Event handler for the Move event of the components on the design canvas
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

ComponentParentChangedHandler (Object, EventArgs)

Purpose: Event handler for the ParentChanged event of the components on the design canvas
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

ComponentResizedHandler (Object, EventArgs)

Purpose: Event handler for the Move event of the components on the design canvas
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

System.Drawing.Point ControlLocation (character)

Purpose: Returns the Control's Location
Notes: Based on a Pixel Layout on the canvas

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the Object instance
Returns System.Drawing.Point
The Location as a System.Drawing.Point
Top

System.Drawing.Size ControlSize (character)

Purpose: Returns the Control's Size
Notes: Based on a Pixel Layout on the canvas

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the Object instance
Returns System.Drawing.Size
The Size as a System.Drawing.Size
Top

Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.IComponentDesigner CreateComponentDesigner (character)

Purpose: Creates the component designer instance
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the object instance to create the designer for
Returns Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.IComponentDesigner
The IComponentDesigner instance
Top

CreateConditionalRibbonTab ()

Purpose: Creates the Conditional Ribbon Tab for this
designer
Notes:

Top

CreateDesignCanvasContextMenu ()

Purpose: Creates the context menu (PopupMenuTool) for the design canvas
Notes: The context menu references the designer tools by their tool
keys, so the enabled state and the ToolClick routing are shared
with the contextual ribbon tools

Top

CreateSecurityField ()

Purpose: Creates security fields for the selected viewer field
Notes:

Top

LOGICAL Deactivating ()

Purpose: Invoked when the Designer is about to be deactivated
Notes: Typically invoked when the designer tab hidden; allows cancelling
of the deactivation

Returns LOGICAL
Logical value indicating if the deactivation should not be cancelled (FALSE = cancelled)
Top

DeleteInstance ()

Purpose: Deletes the selected instance
Notes:

Top

DesignerContextMenuRequestedHandler (Object, ContextMenuRequestedEventArgs)

Purpose: Event handler for the ContextMenuRequested event of the
designer control
Notes: Shows the design canvas context menu when exactly one object
instance is selected on the design canvas

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.Design.ContextMenuRequestedEventArgs
The ContextMenuRequestedEventArgs with the data for this event
Top

DestroyContextualRibbonTab ()

Purpose: Destroys the Contextual Ribbon Tab in the Form's UltraToolbarsManager
Notes:

Top

DestroyDesigner ()

Purpose: Allows the Container Designer Control to destroy resources
Notes: Typically used to clean up Ribbon Tabs etc.

Top

DestroyDesignerComponents (Control)

Purpose: Recursively destroys components on the Designer
Notes:

Parameters:
poRootControl System.Windows.Forms.Control
The Root Component
Top

DuplicateInstance ()

Purpose: Duplicates the currently selected object instance on the
design canvas
Notes: Creates a copy of the eSmartObjectInstance record and its
design attribute values. The new instance receives a unique
instance name (e.g. CustNum becomes CustNum2, CustNum2 becomes
CustNum3) and is positioned below the bottom-most sibling
instance. The duplicate is stored when the design is saved

Top

INTEGER GetHighestY ()

Purpose: Returns the highest X value
Notes:

Returns INTEGER
The hightest Y value
Top

INTEGER HighestSiblingY (character)

Purpose: Returns the bottom-most position (Y plus height) of the
instances that share the given parent instance
Notes: Used to position a duplicated instance below the existing
instances. Returns ? when no sibling carries a Y attribute

Parameters:
pcParentInstanceGuid CHARACTER
The GUID of the parent instance
Returns INTEGER
The bottom-most position or ? when it cannot be determined
Top

InitializeComponent ()


Top

InsertDatabaseField ()

Purpose: Inserts a list of database fields to the viewer
Notes:

Top

InsertDataField ()

Purpose: Inserts a Data Field
Notes:

Top

InsertDataFieldInstance (character, character, ISmartRepositoryService)

Purpose: Inserts an instance for this given data field
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
pcGuid CHARACTER
The GUID of the data field
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The ISmartRepositoryService reference
Top

InsertFromPalette (character)

Purpose: Inserts a component on the design
Notes:

Parameters:
pcComponentName CHARACTER
The name of the component to insert
Top

InsertInstance ()

Purpose: Inserts a new instance to the design canvas
Notes:

Top

InsertInstanceForMaster (character, character)

Purpose: Inserts a new instance of the given object master on the design canvas
Notes:

Parameters:
pcObjectMasterGuid CHARACTER
The GUID of the Object Master to create an instance of
pcFieldName CHARACTER
The name of the entity field to map to, ? for using the object name
Top

LOGICAL IsBoundField (character)

Purpose: Returns if the given field is a bound field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns LOGICAL
Logical value indicating if the field is bound
Top

LayoutHeight ()

Purpose: Sets the height of the selected controls
Notes:

Top

LayoutLeftAlign ()

Purpose: Left aligns the selected controls
Notes:

Top

LayoutVerticalDistance ()

Purpose: Sets the vertical distance of the selected Controls
Notes:

Top

LayoutWidth ()

Purpose: Sets the height of the selected controls
Notes:

Top

OnLoad (EventArgs)

Purpose: Raises the Load event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PaintHandler (Object, PaintEventArgs)

Purpose: Raises the Paint event
Notes:

Parameters:
sender System.Object
The reference to the control that raised the event
e System.Windows.Forms.PaintEventArgs
The PaintEventArgs with the data for this event
Top

PropertyValueChangedHandler (Object, PropertyValueChangedEventArgs)

Purpose: Event handler for the PropertyValueChanged event of the
Property Grid Control
Notes:

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

LOGICAL PushUndoSnapshot (character)

Purpose: Pushes a snapshot of the designer temp-tables onto the undo stack
Notes: No snapshot is recorded while the designer refreshes itself or
while an undo action is being executed

Parameters:
pcDescription CHARACTER
The description of the action to be undone
Returns LOGICAL
Logical value indicating if a snapshot was pushed onto the stack
Top

RefreshDesigner ()

Purpose: Refreshes the Designer
Notes:

Top

System.Windows.Forms.Control RenderDesignInstance (Control, character)

Purpose: Renders a Control on the Design Surface
Notes: Does not set the LicenseContext to Design - so that when it's
executed in a loop (RenderDesignSurface) there is only one
switch of the license context

Parameters:
poRootControl System.Windows.Forms.Control
The Designer Root Control (Viewer)
pcObjectInstanceGuid CHARACTER
The object instance guid
Returns System.Windows.Forms.Control
The reference to the rendered control instance
Top

RenderDesignSurface ()

Purpose: Renders the Visual Design
Notes:

Top

RenderDesignSurface (character, Control)

Purpose: Renders the Visual Design for one container level
Notes:

Parameters:
pcParentInstanceGuid CHARACTER
The ObjectInstanceGuid of the parent container
poParent System.Windows.Forms.Control
The control instance rendered for the parent
Top

ReplaceInstance ()

Purpose: Replaces the currently selected Object Instance with another
Object Master
Notes : Delegates to the SmartObjectMasterForm so the same dialog and
repository logic used on the "Instances" tab is reused here.
After the replacement the owning form is reloaded via
OpenObjectMaster, which also refreshes this designer.

Top

ResizeGestureTimerTickHandler (Object, EventArgs)

Purpose: Event handler for the Tick event of the resize gesture timer
Notes: Ends the coalescing of resize undo actions once the mouse
button has been released (see ComponentResizedHandler)

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

SecurityFieldItemMaintenance ()

Purpose: Creates security fields for the selected viewer field
Notes:

Top

SelectionChangedHandler (Object, EventArgs)

Purpose: Event handler for the SelectionChanged event of the
SelectionService
Notes: Deselects the Label components

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

SetSelectedControlsEnabled (logical)

Purpose: Sets the enabled-related design attributes of all currently
selected control instances to the given value
Notes : Affects the ENABLED, EnabledForAdd, EnabledForUpdate and
EnabledOnCopy design attributes. Only attributes that are
actually present on an instance are modified.

Parameters:
plEnabled LOGICAL
The logical value to assign to the enabled-related attributes
Top

ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the owning Form's
ToolbarsManager
Notes:

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

ultraTree1_MouseClick (Object, MouseEventArgs)

Purpose: Event handler for the MouseClick event of the tree
Notes:

Parameters:
sender System.Object
The reference to the control that raised the event
e System.Windows.Forms.MouseEventArgs
The MouseEventArgs with the data for this event
Top

ultraTree1_MouseDoubleClick (Object, MouseEventArgs)

Purpose: Event handler for the MouseDoubleClick event of the tree
Notes:

Parameters:
sender System.Object
The reference to the control that raised the event
e System.Windows.Forms.MouseEventArgs
The MouseEventArgs with the data for this event
Top

ultraTree1_VisibleChanged (Object, EventArgs)

Purpose: Event handler for the VisibleChanged event of the tree
Notes:

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

UndoLastAction ()

Purpose: Undoes the most recent change recorded on the undo stack
Notes: Restores the designer temp-tables and re-renders the design surface

Top

UndoStackChangedHandler (Object, EventArgs)

Purpose: Event handler for the StackChanged event of the undo stack
Notes:

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

UpdateUndoToolState ()

Purpose: Updates the enabled state and tooltip of the ribbon Undo button
Notes:

Top

ViewerAutofit ()

Purpose: Auto fits the viewer
Notes:



Constructor Detail
Top

ViewerDesignerControl ()

Purpose: Constructor for the ViewerDesignerControl class
Notes:



Property Detail
Top

Consultingwerk.Windows.Framework.Repository.Object.SmartPropertyGridControl PropertyGrid


Returns Consultingwerk.Windows.Framework.Repository.Object.SmartPropertyGridControl
Top

Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.07.2026 16:14:21