Add AbnormalStyle.Underline; use toggle buttons.
This commit is contained in:
@ -162,6 +162,29 @@ namespace zaaReloaded2.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether abnormal values shall be underlined.
|
||||
/// </summary>
|
||||
public bool AbnormalUnderline
|
||||
{
|
||||
get
|
||||
{
|
||||
return _settings.AbnormalStyle.HasFlag(AbnormalStyle.Underline);
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
_settings.AbnormalStyle |= AbnormalStyle.Underline;
|
||||
}
|
||||
else
|
||||
{
|
||||
_settings.AbnormalStyle &= ~AbnormalStyle.Underline;
|
||||
}
|
||||
OnPropertyChanged("AbnormalUnderline");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
Reference in New Issue
Block a user