Class ItemPickerDialogArgs
Provides Arguments for an item picker dialog.
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ItemPickerDialogArgs
Remarks
See IItemPicker for examples how the ItemPickerDialogArgs are used. Generally you should use ItemPickerDialogArgs<T> as it provides additional methods to add columns to the ItemPicker in an easy way.
Constructors
View SourceItemPickerDialogArgs()
Initializes a new instance of the ItemPickerDialogArgs class.
Declaration
public ItemPickerDialogArgs()
Properties
View SourceAllowSelectAll
Gets or sets a value indicating whether the select/unselect all buttons should be shown.
Declaration
public bool AllowSelectAll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AllSelectedMessage
Gets or sets the message shown when all available items have been selected.
Declaration
public string AllSelectedMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String | The the message shown when all available items have been selected. |
AllSelectedTitle
Gets or sets the title of the message shown when all available items have been selected.
Declaration
public string AllSelectedTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The the title of the message shown when all available items have been selected. |
AvailableItems
Gets or sets the available items.
Declaration
public IEnumerable AvailableItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The available items. |
AvailableTitle
Gets or sets the title shown above the available items box.
Declaration
public string AvailableTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The available title. |
Remarks
If this is null
the default title for the item picker is used.
Columns
Gets or sets the descriptors for the columns.
Declaration
public ColumnDescriptorCollection Columns { get; }
Property Value
Type | Description |
---|---|
ColumnDescriptorCollection | The columns. |
Remarks
If this is null the default property descriptors wil be used for the items that should be selected.
DialogTitle
Gets or sets the dialog title.
Declaration
public string DialogTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The dialog title. |
EmptyFilteredMessage
Gets or sets the message shown when a list has been filtered empty.
Declaration
public string EmptyFilteredMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String | The empty filtered message. |
EmptyFilteredTitle
Gets or sets the title of the message shown when a list has been filtered empty.
Declaration
public string EmptyFilteredTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The empty filtered title. |
Height
Gets or sets the height of the item picker.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height. |
IsSelectedMemberConverter
Gets or sets the converter used to convert IsSelectedMemberPath to a boolean.
Declaration
public IValueConverter IsSelectedMemberConverter { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Data.IValueConverter | The converter used to convert IsSelectedMemberPath to a boolean. |
IsSelectedMemberConverterParameter
Gets or sets the parameter used for the IsSelectedMemberConverter.
Declaration
public object IsSelectedMemberConverterParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The parameter used for the IsSelectedMemberConverter. |
IsSelectedMemberPath
Gets or sets the IsSelected member path.
Declaration
public string IsSelectedMemberPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The IsSelected member path. |
IsSelectionOrdered
Gets or sets a value indicating whether the selection is ordered and can be ordered by the user in the dialog.
Declaration
public bool IsSelectionOrdered { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MarkAllCommandTooltip
Gets or sets a tooltip of the mark all command.
Declaration
public string MarkAllCommandTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | A tooltip of the mark all command. |
MaxSelectedItemCount
Gets or sets the maximum selected item count.
Declaration
public int? MaxSelectedItemCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The maximum selected item count. |
MoveDownCommandTooltip
Gets or sets a tooltip for an command triggering a down move of the currently selected item.
Declaration
public string MoveDownCommandTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MoveUpCommandTooltip
Gets or sets a tooltip for an command triggering an upward move of the currently selected item.
Declaration
public string MoveUpCommandTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrderMemberConverter
Gets or sets the converter used to convert OrderMemberPath to a int.
Declaration
public IValueConverter OrderMemberConverter { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Data.IValueConverter | The converter used to convert OrderMemberPath to a int. |
OrderMemberConverterParameter
Gets or sets the parameter used for the OrderMemberConverter.
Declaration
public object OrderMemberConverterParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The parameter used for the OrderMemberConverter. |
OrderMemberPath
Gets or sets the order member path.
Declaration
public string OrderMemberPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The order member path. |
Parent
Gets or sets the parent System.Windows.Window.
Declaration
public Window Parent { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Window | The parent System.Windows.Window. |
SelectCommandTooltip
Gets or sets a tooltip of the select command.
Declaration
public string SelectCommandTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | A tooltip of the select command. |
SelectedItems
Gets or sets the selected items.
Declaration
public IEnumerable SelectedItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The selected items. |
SelectedTitle
Gets or sets the title above the selected items box.
Declaration
public string SelectedTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The selected title. |
Remarks
If this is null
the default title for the item picker is used.
SelectionCountFormat
Gets or sets the selection count format (e.g. '({0}/{1})').
Declaration
public string SelectionCountFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The selection count format. |
Remarks
If this is null
the default title for the item picker is used.
SelectionEmptyMessage
Gets or sets the message shown when no items have been selected (yet).
Declaration
public string SelectionEmptyMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String | The the message shown when no items have been selected (yet). |
SelectionEmptyTitle
Gets or sets the title of the message shown when no items have been selected (yet).
Declaration
public string SelectionEmptyTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The the title of the message shown when no items have been selected (yet). |
ShowHelpCommand
Gets or sets the show help command.
Declaration
public ICommand ShowHelpCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand | The show help command. |
UnmarkAllCommandTooltip
Gets or sets a tooltip of the unmarked all command.
Declaration
public string UnmarkAllCommandTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | A tooltip of the unmarked all command. |
UnselectCommandTooltip
Gets or sets a tooltip of the unselect command.
Declaration
public string UnselectCommandTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | A tooltip of the unselect command. |
Width
Gets or sets the width of the item picker.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width. |