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