Implement styling of abnormal values.
- NEU: Auszeichnung pathologischer Werte kann eingestellt werden.
This commit is contained in:
@ -116,6 +116,52 @@ namespace zaaReloaded2.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether abnormal values shall be formatted in bold.
|
||||
/// </summary>
|
||||
public bool AbnormalBold
|
||||
{
|
||||
get
|
||||
{
|
||||
return _settings.AbnormalStyle.HasFlag(AbnormalStyle.Bold);
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
_settings.AbnormalStyle |= AbnormalStyle.Bold;
|
||||
}
|
||||
else
|
||||
{
|
||||
_settings.AbnormalStyle &= ~AbnormalStyle.Bold;
|
||||
}
|
||||
OnPropertyChanged("AbnormalBold");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether abnormal values shall be formatted in italics.
|
||||
/// </summary>
|
||||
public bool AbnormalItalics
|
||||
{
|
||||
get
|
||||
{
|
||||
return _settings.AbnormalStyle.HasFlag(AbnormalStyle.Italics);
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
_settings.AbnormalStyle |= AbnormalStyle.Italics;
|
||||
}
|
||||
else
|
||||
{
|
||||
_settings.AbnormalStyle &= ~AbnormalStyle.Italics;
|
||||
}
|
||||
OnPropertyChanged("AbnormalItalics");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
Reference in New Issue
Block a user