Class SyDropDownBox
ComboBox which can be confugired over the database
Inheritance
System.Object
    SyDropDownBox
  Implements
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class SyDropDownBox : ComboBox, IValueBinding
  Constructors
| Improve this Doc View SourceSyDropDownBox()
Constructor
Declaration
public SyDropDownBox()
  Properties
| Improve this Doc View SourceBoxName
Declaration
public string BoxName { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SelectedBackgroundValue
Declaration
public string SelectedBackgroundValue { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
ValueBindingPropertyName
Declaration
public string ValueBindingPropertyName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceAddParent(SyDropDownBox)
Fügt ein Parent-Combobox(SyDropDownBox) hinzu. Dies ist für die Mehrfachauswahl, bzw. für die Auswahl von Abhängigen Daten geeignet.
Declaration
public void AddParent(SyDropDownBox ParentComboBox)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SyDropDownBox | ParentComboBox | Instanz einer SyDropDownBox  | 
      
GetBindingValue()
Declaration
public object GetBindingValue()
  Returns
| Type | Description | 
|---|---|
| System.Object | 
OnSelectionChanged(SelectionChangedEventArgs)
Own handling of OnSelectionChanged
Declaration
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SelectionChangedEventArgs | e | 
RemoveParent(SyDropDownBox)
Entfernt eine Parent-ComboBox
Declaration
public void RemoveParent(SyDropDownBox ParentComboBox)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SyDropDownBox | ParentComboBox | Instanz einer SyDropDownBox  | 
      
Reset()
Declaration
public void Reset()
  SetBindingValue(Object)
Declaration
public void SetBindingValue(object Binding)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | Binding | 
SetConfig(String, String, String)
Set Config
Declaration
public void SetConfig(string BoxName, string ConnectionName, string Parameter = "")
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | BoxName | Configuration Name  | 
      
| System.String | ConnectionName | Connection Name  | 
      
| System.String | Parameter |