Namespace: Consultingwerk.BusinessEntityDesigner.UI
Class 
FieldViewerControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartViewerControl
Implements: Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget, Consultingwerk.SmartComponents.Interfaces.Design.IDesignGroupAssignSource, Consultingwerk.SmartComponents.Interfaces.Design.IDesignToolbarTarget, Consultingwerk.SmartComponents.Interfaces.Design.IDesignViewerControl, Consultingwerk.SmartComponents.Interfaces.ISmartViewerControl, Consultingwerk.SmartComponents.Base.IAlwaysEnabledControl, ICheckOkToClose, IHandlesServerEvents, IHasDesignerVerbs, ISaveChangesOnDeactivateForm, ISmartDataTarget, ISmartGroupAssignSource, ISmartGroupAssignTarget, ISmartTableIOTarget, ISmartToolbarTarget, ISupportInitialize




Top Method Summary
Options Name Purpose
AttachBindingSource (BindingSource) This Method attaches a new BindingSource given as the Parameter poBindingSource to the Objects of the current Class. The new BindingSource may have been created by a DataAdapter or reused from a SmartBrowserControl
cbSemanticType_BeforeDropDown (Object, CancelEventArgs) Event handler for the BeforeDropDown event of the cbSemanticType
cbSemanticType_Enter (Object, EventArgs) Event handler for the Enter event of the cbSemanticType
DataTypeComboValueChanged (Object, EventArgs) Event handler for the ValueChanged event of the ultraComboEditor1
EnableFields (character, logical) Enables controls of the SmartViewerControl
Infragistics.Win.ValueList GetDataTypeValueList () Returns a copy of the value list with the data types
InitializeComponent ()
OnLoad (EventArgs) Raises the Load event
PopulateSemanticTypes () Populates the Semantic Types Combo Box
SaveChanges () Saves the current changes to the database.
smartBusinessEntityBindingSource1_eField_FieldName_Leave (Object, EventArgs) Event handler for the Leave event of the smartBusinessEntityBindingSource1_eField_FieldName Control
ultraCheckEditor2_CheckedChanged (Object, EventArgs) Event handler for the CheckedChanged event of the ultraCheckEditor2 instance
ultraComboEditor2_ValueChanged (Object, EventArgs) Event handler for the ValueChanged event of the ultraComboEditor2 instance
ValueChangedHandler (Object, EventArgs) Event handler for the ValueChanged event of the FieldValidationPropertiesControl
VisualValidate () Validate data entered into the DataFields

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


Method Detail
Top

AttachBindingSource (BindingSource)

Purpose: This Method attaches a new BindingSource given as the Parameter
poBindingSource to the Objects of the current Class. The new
BindingSource may have been created by a DataAdapter or reused from a
SmartBrowserControl
Notes: It is called by the SmartDataAdapter Class when creating a new
BindingSource or when a new SmartDataSource is registered to the
Class implementing the Interface ISmartDataTarget.
This method is also called from the SmartViewerControl destructor (while
a form is closed) to de-attach from the Binding Source. In this case
the poBindingSource reference is passed in as the unknown value.

Parameters:
poBindingSource Progress.Data.BindingSource
The BindingSource to be attached to the Controls contained in the Viewer
Top

cbSemanticType_BeforeDropDown (Object, CancelEventArgs)

Purpose: Event handler for the BeforeDropDown event of the cbSemanticType
Notes:

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

cbSemanticType_Enter (Object, EventArgs)

Purpose: Event handler for the Enter event of the cbSemanticType
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

DataTypeComboValueChanged (Object, EventArgs)

Purpose: Event handler for the ValueChanged event of the ultraComboEditor1
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

EnableFields (character, logical)

Purpose: Enables controls of the SmartViewerControl
Notes:

Parameters:
pcFields CHARACTER
The EnableFieldsEnum value indicating if the fields are enabled for Add or Update
plEnsureVisible LOGICAL
Logical value indicating if the Viewer should ensure it's visible
Top

Infragistics.Win.ValueList GetDataTypeValueList ()

Purpose: Returns a copy of the value list with the data types
Notes:

Returns Infragistics.Win.ValueList
The copy of the value list with the data types
Top

InitializeComponent ()


Top

OnLoad (EventArgs)

Purpose: Raises the Load event
Notes:

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

PopulateSemanticTypes ()

Purpose: Populates the Semantic Types Combo Box
Notes:

Top

SaveChanges ()

Purpose: Saves the current changes to the database.
Notes: This Method is called by the Toolbar Classes SmartToolbarController
or SmartToolStripContainer by pressing the corresponding Tool.
Enforced by Interface ISmartDataTarget or ISmartGroupAssignTarget.

Top

smartBusinessEntityBindingSource1_eField_FieldName_Leave (Object, EventArgs)

Purpose: Event handler for the Leave event of the smartBusinessEntityBindingSource1_eField_FieldName
Control
Notes: Builds a well formed label from a camel cased field name

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

ultraCheckEditor2_CheckedChanged (Object, EventArgs)

Purpose: Event handler for the CheckedChanged event of the ultraCheckEditor2
instance
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

ultraComboEditor2_ValueChanged (Object, EventArgs)

Purpose: Event handler for the ValueChanged event of the ultraComboEditor2
instance
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

ValueChangedHandler (Object, EventArgs)

Purpose: Event handler for the ValueChanged event of the FieldValidationPropertiesControl
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

VisualValidate ()

Purpose: Validate data entered into the DataFields
Notes:



Constructor Detail
Top

FieldViewerControl ()

Purpose: Constructor for the FieldViewerControl class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:20:57