Class SyTextBoxValidation
  
  
  
  
    Inheritance
    System.Object
    SyTextBoxValidation
   
  
  
  Assembly: Simplic.Framework.DBUI.dll
  Syntax
  
    public class SyTextBoxValidation : object, IValidable
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SyTextBoxValidation(SyTextBox)
  
  
  Declaration
  
    public SyTextBoxValidation(SyTextBox SyTextBox)
   
  Parameters
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ConnectionName
  
  
  Declaration
  
    public string ConnectionName { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ItemBox
  
  
  Declaration
  
    public AsyncItemBox ItemBox { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ItemBoxBackgroundValueColumn
  
  
  Declaration
  
    public string ItemBoxBackgroundValueColumn { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ItemBoxReturnColumn
  
  
  Declaration
  
    public string ItemBoxReturnColumn { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OpenItemBoxKey
  The Key for opening the ItemBox, Default is F3
 
  
  Declaration
  
    public Key OpenItemBoxKey { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UseAutoComplete
  
  
  Declaration
  
    public bool UseAutoComplete { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  UseItemBox
  If true, the TextBox uses ItemBox
 
  
  Declaration
  
    public bool UseItemBox { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ValidationString
  
  
  Declaration
  
    public string ValidationString { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Fill(String)
  
  
  Declaration
  
    public void Fill(string LookupString)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        LookupString | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetValidationStatement(String)
  Generate Validation-String
 
  
  Declaration
  
    public string GetValidationStatement(string Parameter)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        Parameter | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  HandleValidation(KeyValuePair<Boolean, String>, IList<String>)
  
  
  Declaration
  
    public KeyValuePair<bool, string> HandleValidation(KeyValuePair<bool, string> ValidationResult, IList<string> FoundedResults)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | KeyValuePair<System.Boolean, System.String> | 
        ValidationResult | 
        Result 
 | 
      
      
        | IList<System.String> | 
        FoundedResults | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | KeyValuePair<System.Boolean, System.String> | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Remove()
  
  
  Declaration
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SelectByItemBox(String)
  
  
  Declaration
  
    public void SelectByItemBox(string Search = "")
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        Search | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetFillStatement(String)
  
  
  Declaration
  
    public void SetFillStatement(string FillStatement)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        FillStatement | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetValidationStatement(String)
  
  
  Declaration
  
    public void SetValidationStatement(string ValidationString)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        ValidationString | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Valid()
  
  
  Declaration
  
    public KeyValuePair<bool, string> Valid()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | KeyValuePair<System.Boolean, System.String> | 
         | 
      
    
  
  Implements