25 lines
603 B
C#
25 lines
603 B
C#
|
|
|
|
|
|
// This Source Code is partially based on the source code provided by the .NET Foundation.
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace WPFluent.Controls;
|
|
|
|
/// <summary>
|
|
/// Defines values that specify the input validation behavior of a <see cref="NumberBox"/> when invalid input is
|
|
/// entered.
|
|
/// </summary>
|
|
public enum NumberBoxValidationMode
|
|
{
|
|
/// <summary>
|
|
/// Input validation is disabled.
|
|
/// </summary>
|
|
InvalidInputOverwritten,
|
|
|
|
/// <summary>
|
|
/// Invalid input is replaced by <see cref="NumberBox"/> PlaceholderText text.
|
|
/// </summary>
|
|
Disabled,
|
|
}
|