Gets or sets a value that determines how a space input character should be handled.

Namespace:  C1.Web.UI.Controls.C1Input
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[DefaultValueAttribute(true)]
[C1CategoryAttribute("Category.Behavior")]
[BindableAttribute(false)]
[JsonAttribute(true, true, true)]
public virtual bool ResetOnSpace { get; set; }
Visual Basic (Declaration)
<DefaultValueAttribute(True)> _
<C1CategoryAttribute("Category.Behavior")> _
<BindableAttribute(False)> _
<JsonAttribute(True, True, True)> _
Public Overridable Property ResetOnSpace As Boolean
	Get
	Set

Remarks

Returns true if the space input character causes the current editable position in the mask to be reset; otherwise, false to indicate that it is to be processed as a normal input character. The default is true. ResetOnSpace is useful when assigning text that was saved excluding the prompt, where the prompt is replaced with a space. Before restoring such a string, setting ResetOnSpace to True will reset the prompt characters at the positions occupied by spaces in the input string.

See Also