Class SyTextBoxValidation
Inheritance
System.Object
SyTextBoxValidation
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class SyTextBoxValidation : IValidable
Constructors
| Improve this Doc View SourceSyTextBoxValidation(SyTextBox)
Constructor
Declaration
public SyTextBoxValidation(SyTextBox SyTextBox)
Parameters
Type | Name | Description |
---|---|---|
SyTextBox | SyTextBox |
Properties
| Improve this Doc View SourceConnectionName
Declaration
public string ConnectionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ItemBox
Declaration
public AsyncItemBox ItemBox { get; set; }
Property Value
Type | Description |
---|---|
AsyncItemBox |
ItemBoxBackgroundValueColumn
Declaration
public string ItemBoxBackgroundValueColumn { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ItemBoxReturnColumn
Declaration
public string ItemBoxReturnColumn { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OpenItemBoxKey
The Key for opening the ItemBox, Default is F3
Declaration
public Key OpenItemBoxKey { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.Key |
UseAutoComplete
Autocomplete
Declaration
public bool UseAutoComplete { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseItemBox
If true, the TextBox uses ItemBox
Declaration
public bool UseItemBox { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValidationString
Declaration
public string ValidationString { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFill(String)
Fill
Declaration
public void Fill(string LookupString)
Parameters
Type | Name | Description |
---|---|---|
System.String | LookupString |
GetValidationStatement(String)
Generate Validation-String
Declaration
public string GetValidationStatement(string Parameter)
Parameters
Type | Name | Description |
---|---|---|
System.String | Parameter |
Returns
Type | Description |
---|---|
System.String |
HandleValidation(KeyValuePair<Boolean, String>, IList<String>)
Handle the Validation
Declaration
public KeyValuePair<bool, string> HandleValidation(KeyValuePair<bool, string> ValidationResult, IList<string> FoundedResults)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.KeyValuePair<System.Boolean, System.String> | ValidationResult | Result |
System.Collections.Generic.IList<System.String> | FoundedResults |
Returns
Type | Description |
---|---|
System.Collections.Generic.KeyValuePair<System.Boolean, System.String> |
Remove()
Remove
Declaration
public void Remove()
SelectByItemBox(String)
Show the Current ItemBox
Declaration
public void SelectByItemBox(string Search = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | Search |
SetFillStatement(String)
Fill-Statement
Declaration
public void SetFillStatement(string FillStatement)
Parameters
Type | Name | Description |
---|---|---|
System.String | FillStatement |
SetValidationStatement(String)
Set Validation
Declaration
public void SetValidationStatement(string ValidationString)
Parameters
Type | Name | Description |
---|---|---|
System.String | ValidationString |
Valid()
Valid TextBox
Declaration
public KeyValuePair<bool, string> Valid()
Returns
Type | Description |
---|---|
System.Collections.Generic.KeyValuePair<System.Boolean, System.String> |