New to Telerik UI for .NET MAUIStart a free 30-day trial

Defines the contract for a masked entry control that provides input validation and formatting.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public interface IRadMaskedEntry : IView, IElement, ITransform

Derived Classes: RadEmailMaskedEntryRadIPMaskedEntryRadMaskedEntryBaseRadNumericMaskedEntryRadRegexMaskedEntryRadTextMaskedEntry...

Properties

Gets a value indicating whether null values are allowed.

C#
bool AllowNullValue { get; }

Gets a value indicating whether the prompt character can be entered as input.

C#
bool AllowPromptAsInput { get; }

Gets the culture information used for formatting and parsing values.

C#
CultureInfo Culture { get; }

Keyboard

Keyboard

Gets the keyboard type to be used for input.

C#
Keyboard Keyboard { get; }

Gets the mask pattern used to format and validate input.

C#
string Mask { get; }

Gets the character used as a placeholder for input positions in the mask.

C#
char PromptChar { get; }

Methods

Called when the value has changed.

C#
void ValueChanged(MaskedEntryValueChangedEventArgs args)
Parameters:argsMaskedEntryValueChangedEventArgs

The MaskedEntryValueChangedEventArgs containing the event data.

Called when the value is changing, providing an opportunity to cancel the change.

C#
void ValueChanging(MaskedEntryValueChangingEventArgs args)
Parameters:argsMaskedEntryValueChangingEventArgs

The MaskedEntryValueChangingEventArgs containing the event data.