Class ItemPickerDialogArgs<T>
Provides Arguments for an item picker dialog which should select objects of type T
.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.Linq.Expressions.Expression<System.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 |
---|---|---|
System.String | header | The header for this column. |
System.Linq.Expressions.Expression<System.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 |
---|---|---|
System.String | header | The header for this column. |
System.String | watermark | The watermark shown in the search box for this columns descriptor. |
System.Linq.Expressions.Expression<System.Func<T, TPropertyType>> | columnExpression | The column expression. |
Type Parameters
Name | Description |
---|---|
TPropertyType | The type of the property type. |