The IFormControl type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
GetOtherValues |
Returns an array of values of any other fields returned by the control.
| |
IsValid |
Returns true if entered data is valid. If data is invalid, it returns false and displays an error message.
| |
LoadControlValue |
Loads control value
|
Properties
Name | Description | |
---|---|---|
Enabled |
Gets or sets a value indicating whether the control can respond to user interaction.
| |
FieldInfo |
Field info object.
| |
Form |
Parent form.
| |
FormControlParameter |
Helper property to use custom parameter in form control.
| |
HasValue |
Returns true if the control has value, if false, the value from the control should not be used within the form to update the data
| |
ValidationError |
Validation error string shown when the control is not valid.
| |
Value |
Gets or sets field value. You need to override this method to make the control work properly with the form.
| |
ValueDisplayName |
Gets the display name of the value item. Returns null if display name is not available.
| |
ValueElementID |
Gets ClientID of the control from which the Value is retrieved or
null if such a control can't be specified.
| |
ValueForValidation |
Returns value prepared for validation.
| |
Visible |
Gets or sets a value indicating whether the control and all its child controls are displayed.
|
See Also