|
Vereinsmeisterschaften
22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
|
Workspace setting view model. More...
Public Member Functions | |
| WorkspaceSettingViewModel (WorkspaceSetting< T > setting, string label, string tooltip, string icon, Geometry iconGeometry, DataTemplate editorTemplate, bool supportResetToDefault) | |
| Constructor for the WorkspaceSettingViewModel<T> | |
Properties | |
| WorkspaceSetting< T > | Setting [get] |
| WorkspaceSetting<T> that is managed by this view model | |
| string | Label [get] |
| Label describing the setting. | |
| string | Tooltip [get] |
| Tooltip for this setting. | |
| string | Icon [get] |
| Icon for this setting. | |
| Geometry | IconGeometry [get] |
| Icon Geometry for this setting. | |
| bool | HasChanged [get] |
| True, if the setting value is not the snapshot value. | |
| bool | HasDefaultValue [get] |
| True if the setting value is the default value. | |
| bool | SupportResetToDefault [get, set] |
| Support for resetting the setting value to the default value. | |
| ICommand | ResetCommand [get] |
| Command to set the setting value back to the snapshot value. | |
| ICommand | SetToDefaultCommand [get] |
| Command to set the setting value back to the default value. | |
| T | Value [get, set] |
| Setting value. | |
| T | MinValue [get] |
| Minimum value for the setting. | |
| T | MaxValue [get] |
| Maximum value for the setting. | |
| object | UntypedMinValue [get] |
| Minimum value for the setting. | |
| object | UntypedMaxValue [get] |
| Maximum value for the setting. | |
| Type | ValueType [get] |
| Type of the setting value. | |
| object | UntypedValue [get, set] |
| Value for the setting. | |
| DataTemplate | EditorTemplate [get] |
| Data template to assign a setting dependent editor view. | |
Private Attributes | |
| bool | _supportResetToDefault |
Workspace setting view model.
| T | Type of the setting |
Definition at line 15 of file WorkspaceSettingViewModel.cs.
| Vereinsmeisterschaften.ViewModels.WorkspaceSettingViewModel< T >.WorkspaceSettingViewModel | ( | WorkspaceSetting< T > | setting, |
| string | label, | ||
| string | tooltip, | ||
| string | icon, | ||
| Geometry | iconGeometry, | ||
| DataTemplate | editorTemplate, | ||
| bool | supportResetToDefault ) |
Constructor for the WorkspaceSettingViewModel<T>
| setting | WorkspaceSetting<T> that is managed by this view model |
| label | Label describing the setting |
| tooltip | Tooltip for this setting |
| icon | Icon for this setting. This should be e.g. "\uE787". If this is null, IconDrawingImage is used. |
| iconGeometry | Icon Geometry for this setting. This is used instead of Icon when Icon is null. |
| editorTemplate | Data template to assign a setting dependent editor view. |
| supportResetToDefault | Support for resetting the setting value to the default value. |
Definition at line 142 of file WorkspaceSettingViewModel.cs.
|
private |
Definition at line 52 of file WorkspaceSettingViewModel.cs.
|
get |
Data template to assign a setting dependent editor view.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 130 of file WorkspaceSettingViewModel.cs.
|
get |
True, if the setting value is not the snapshot value.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 45 of file WorkspaceSettingViewModel.cs.
|
get |
True if the setting value is the default value.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 50 of file WorkspaceSettingViewModel.cs.
|
get |
Icon for this setting.
This should be e.g. "\uE787". If this is null, IconDrawingImage is used.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 35 of file WorkspaceSettingViewModel.cs.
|
get |
Icon Geometry for this setting.
This is used instead of Icon when Icon is null.
Definition at line 40 of file WorkspaceSettingViewModel.cs.
|
get |
Label describing the setting.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 25 of file WorkspaceSettingViewModel.cs.
|
get |
Maximum value for the setting.
Definition at line 98 of file WorkspaceSettingViewModel.cs.
|
get |
Minimum value for the setting.
Definition at line 93 of file WorkspaceSettingViewModel.cs.
|
get |
Command to set the setting value back to the snapshot value.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 65 of file WorkspaceSettingViewModel.cs.
|
get |
WorkspaceSetting<T> that is managed by this view model
Definition at line 20 of file WorkspaceSettingViewModel.cs.
|
get |
Command to set the setting value back to the default value.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 70 of file WorkspaceSettingViewModel.cs.
|
getset |
Support for resetting the setting value to the default value.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 56 of file WorkspaceSettingViewModel.cs.
|
get |
Tooltip for this setting.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 30 of file WorkspaceSettingViewModel.cs.
|
get |
Maximum value for the setting.
This is type independent by using the object type.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 110 of file WorkspaceSettingViewModel.cs.
|
get |
Minimum value for the setting.
This is type independent by using the object type.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 104 of file WorkspaceSettingViewModel.cs.
|
getset |
Value for the setting.
This is type independent by using the object type.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 121 of file WorkspaceSettingViewModel.cs.
|
getset |
Setting value.
Definition at line 75 of file WorkspaceSettingViewModel.cs.
|
get |
Type of the setting value.
Implements Vereinsmeisterschaften.Contracts.ViewModels.IWorkspaceSettingViewModel.
Definition at line 115 of file WorkspaceSettingViewModel.cs.