DecimalEditorAttribute.AllowNegativesByDefault property

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Gets or sets a value indicating whether to allow negatives by default. This is a global setting that controls if decimal editors should allow negative values unless specified otherwise.

public static bool AllowNegativesByDefault { get; set; }

Property Value

true if negatives should be allowed by default; otherwise, false.

See Also