Class ItemPickerDialogArgs<T>
Provides Arguments for an item picker dialog which should select objects of type T.
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ItemPickerDialogArgs<T> : ItemPickerDialogArgs
Type Parameters
| Name | Description |
|---|---|
| T | The type of objects to select |
Remarks
See IItemPicker for examples how to use the ItemPickerDialogArgs<T>.
Methods
View SourceAddColumnDescriptor<TPropertyType>(Expression<Func<T, TPropertyType>>)
Adds a column descriptor.
Declaration
public void AddColumnDescriptor<TPropertyType>(Expression<Func<T, TPropertyType>> columnExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, TPropertyType>> | columnExpression | The column expression. |
Type Parameters
| Name | Description |
|---|---|
| TPropertyType | The type of the property type. |
AddColumnDescriptor<TPropertyType>(string, Expression<Func<T, TPropertyType>>)
Adds a column descriptor.
Declaration
public void AddColumnDescriptor<TPropertyType>(string header, Expression<Func<T, TPropertyType>> columnExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| string | header | The header for this column. |
| Expression<Func<T, TPropertyType>> | columnExpression | The column expression. |
Type Parameters
| Name | Description |
|---|---|
| TPropertyType | The type of the property type. |
AddColumnDescriptor<TPropertyType>(string, string, Expression<Func<T, TPropertyType>>)
Adds a column descriptor.
Declaration
public void AddColumnDescriptor<TPropertyType>(string header, string watermark, Expression<Func<T, TPropertyType>> columnExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| string | header | The header for this column. |
| string | watermark | The watermark shown in the search box for this columns descriptor. |
| Expression<Func<T, TPropertyType>> | columnExpression | The column expression. |
Type Parameters
| Name | Description |
|---|---|
| TPropertyType | The type of the property type. |