Class AsyncGridItemBox
Interaktionslogik für ItemBox.xaml
Inheritance
System.Object
AsyncGridItemBox
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class AsyncGridItemBox : MSWindow, AsyncItemBox
Constructors
| Improve this Doc View SourceAsyncGridItemBox()
Constructor
Declaration
public AsyncGridItemBox()
Properties
| Improve this Doc View SourceConnectionName
Declaration
public string ConnectionName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DataConnectionString
Declaration
public string DataConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ItemBoxName
Declaration
public string ItemBoxName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Placeholders
Get all placeholders
Declaration
public IDictionary<string, string> Placeholders { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<System.String, System.String> |
SearchProfiles
List with all search profiles
Declaration
public IList<SearchProfile> SearchProfiles { get; }
Property Value
| Type | Description |
|---|---|
| IList<SearchProfile> |
SelectedItem
Declaration
public object SelectedItem { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
SqlStatement
Declaration
public string SqlStatement { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
StartSearch
Declaration
public string StartSearch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StaticParameter
Declaration
public IList<string> StaticParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<System.String> |
Methods
| Improve this Doc View SourceAddSearchProfile(SearchProfile)
Add new Search-Profile
Declaration
public void AddSearchProfile(SearchProfile SearchProfile)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchProfile | SearchProfile | Search-Profile to add |
ClearPlaceholder()
Clear the list of placeholder
Declaration
public void ClearPlaceholder()
Fill(String)
Search-Text
Declaration
public void Fill(string SearchText)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | SearchText |
GetSelectedItemCell(String)
Get Cell from selected item
Declaration
public object GetSelectedItemCell(string CellName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | CellName |
Returns
| Type | Description |
|---|---|
| System.Object |
SetDefaultProfile()
Setzt das standardprofil der ItemBox
Declaration
public void SetDefaultProfile()
SetPlaceholder(String, String)
Placeholder, which will be used in itemboxes to set constant values
Declaration
public void SetPlaceholder(string placeholder, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | placeholder | |
| System.String | value |
SetProfile(SearchProfile, Boolean)
Sets / Display a new Search-Profile
Declaration
public void SetProfile(SearchProfile Profile, bool FillGrid = true)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchProfile | Profile | |
| System.Boolean | FillGrid |
SetProfile(String)
Set the current active profil eby its user id
Declaration
public void SetProfile(string gridName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | gridName | Name of the grid used for the itembox |
SetSettings(String, String)
Declaration
public void SetSettings(string title, string tooltip)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | title | |
| System.String | tooltip |
ShowDialog()
Show as dialog
Declaration
public void ShowDialog()
Implements
IDisposable