DxRegExMaskProperties.Placeholder Property
Specifies the input prompt character for Regular Expression masks.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue('_')]
[Parameter]
public char Placeholder { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Char | '_' | The placeholder character. |
Remarks
Use the Placeholder
property to specify a custom placeholder character.
<DxMaskedInput @bind-Value="Value"
Mask="[A-Z]{3}-[0-9]{2}"
MaskMode="@MaskMode.RegEx">
<DxRegExMaskProperties Placeholder="Placeholder" />
</DxMaskedInput>
@code{
String Value { get; set; }
char Placeholder = '#';
}
See Also