Namespace: Consultingwerk.Design
Class 
DesignerFieldsHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:FieldDesignerHelper
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Sep 14 00:16:03 CEST 2011



Top Method Summary
Options Name Purpose
+ System.Type DataTypeDesignTimeControl (DataType) Returns the Control type that should be used for a given datatype
+ System.Drawing.Image DataTypeImage (DataType) Returns the image to represent a data type in the toolbox
+ CHARACTER DefaultBindingPropertyForType (Type) Returns the Default data bindable property for the Control of the given System.Type

Top Constructor Summary
Options Name Purpose
DesignerFieldsHelper () Static constructor of the DesignerFieldsHelper class.
- DesignerFieldsHelper () Disallow instance creation


Method Detail
Top

PUBLIC System.Type DataTypeDesignTimeControl (DataType)

Purpose: Returns the Control type that should be used for a given datatype
Notes:

Parameters:
poDataType Progress.Data.DataType
The Progress.Data.DataType of a BindingSource field
Returns System.Type
The System.Type of the .NET Control used for rendering the Control
Top

PUBLIC System.Drawing.Image DataTypeImage (DataType)

Purpose: Returns the image to represent a data type in the toolbox
Notes:

Parameters:
poDataType Progress.Data.DataType
The Progress.Data.DataType of a BindingSource field
Returns System.Drawing.Image
The System.Drawing.Image to represent fields of that DataType on the Designer toolbox
Top

PUBLIC CHARACTER DefaultBindingPropertyForType (Type)

Purpose: Returns the Default data bindable property for the Control of the given
System.Type
Notes:

Parameters:
poType System.Type
The System.Type of a .NET Control
Returns CHARACTER
The name of the property to data bind to


Constructor Detail
Top

STATIC DesignerFieldsHelper ()

Purpose: Static constructor of the DesignerFieldsHelper class.
Notes:

Top

PRIVATE DesignerFieldsHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       27.03.2024 00:27:08