ISalEditControl
Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.50 (5.0.0.0)
Extends the SAL control contract with validation, display formatting, edit masks, and culture settings.
- C#
- VB.NET
public interface ISalEditControl : ISalControl
Public Interface ISalEditControl
Inherits ISalControl
Example:
void FormatValidValue(PPJ.Runtime.ISalEditControl control)
{
if (control.ValidateDataType())
control.ApplyFormat();
}
Properties
CultureInfo
CultureInfo: Gets or sets the culture used to interpret and format the editable value.
EditMask
String: Gets or sets the mask that constrains text entered in the control.
Format
String: Gets or sets the SAL format picture used to display the value.
MaxLength
Int32: Gets or sets the maximum number of characters that can be entered.
Validated
Boolean: Gets or sets whether the current content has already passed SAL validation.
Methods
ApplyFormat()
Applies the configured format picture to the current value.
ValidateDataType()
Checks whether the current content is valid for the configured data type.
Returns: Boolean. if the content is valid; otherwise, .
Implemented By
| Name | Description |
|---|---|
| SalComboBox | Combines an editable value and selectable list with SAL validation, formatting, and window actions. |
| SalDataField | Provides a single-line text field with SAL data types, formatting, validation, and window actions. |
| SalMultilineField | Provides multiline text editing with SAL data types, formatting, validation, and window actions. |
| SalTableColumn | Defines a SAL table column and the editing, formatting, and list behavior of its current cell. |
| SalQuickToolTipComboBox | Provides a SAL combo box with Quick Objects tooltip and status-text compatibility methods. |
| SalQuickToolTipDataField | Provides a SAL data field with Quick Objects tooltip and status-text compatibility methods. |
| SalQuickToolTipMultilineField | Provides a SAL multiline input with Quick Objects tooltip and status-text compatibility methods. |
| VisCalendar | |
| VisCalendarDropDown | |
| VisColorComboBox | |
| VisColorPaletteDropDown | |
| VisComboBoxBase | |
| VisDropDownBase | |
| VisFontComboBox | |
| VisFontNameComboBox | |
| VisListViewDropDown | |
| VisOutlineComboBox | |
| VisPictureComboBox | |
| VisSpinField |