skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Migrate to .NET MAUI
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MaskedInputElement

Represents a custom Telerik.XamarinForms.Input.Entry implementation that may be used to restrict user input.

Inheritance
System.Object
RadView
MaskedInputElement
Inherited Members
RadView.OnNativeControlLoaded()
RadView.OnNativeControlUnloaded()
RadView.IsDefaultValue(String)
RadView.IsOperational
RadView.NativeControlLoaded
RadView.NativeControlUnloaded
Namespace: Telerik.XamarinForms.Input
Assembly: Telerik.XamarinForms.Input.dll

Syntax

public class MaskedInputElement : RadView, INotifyNativeControlLoaded

Constructors

MaskedInputElement()

Identifies the MaskedInputElement.

Declaration
public MaskedInputElement()

Fields

BorderStyleProperty

Identifies the BorderStyle property.

Declaration
public static readonly BindableProperty BorderStyleProperty
Field Value
Xamarin.Forms.BindableProperty

DisplayedTextColorProperty

Identifies the DisplayedTextColor property.

Declaration
public static readonly BindableProperty DisplayedTextColorProperty
Field Value
Xamarin.Forms.BindableProperty

DisplayedTextFontProperty

Identifies the DisplayedTextFont property.

Declaration
public static readonly BindableProperty DisplayedTextFontProperty
Field Value
Xamarin.Forms.BindableProperty

DisplayedTextFontSizeProperty

Identifies the DisplayedTextFontSize property.

Declaration
public static readonly BindableProperty DisplayedTextFontSizeProperty
Field Value
Xamarin.Forms.BindableProperty

DisplayedTextProperty

Identifies the DisplayedText property.

Declaration
public static readonly BindableProperty DisplayedTextProperty
Field Value
Xamarin.Forms.BindableProperty

HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment property.

Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
Xamarin.Forms.BindableProperty

InputValueProperty

Identifies the InputValue property.

Declaration
public static readonly BindableProperty InputValueProperty
Field Value
Xamarin.Forms.BindableProperty

KeyboardProperty

Identifies the Keyboard property.

Declaration
public static readonly BindableProperty KeyboardProperty
Field Value
Xamarin.Forms.BindableProperty

MaskProperty

Identifies the Mask property.

Declaration
public static readonly BindableProperty MaskProperty
Field Value
Xamarin.Forms.BindableProperty

MaskTypeProperty

Identifies the MaskType property.

Declaration
public static readonly BindableProperty MaskTypeProperty
Field Value
Xamarin.Forms.BindableProperty

PlaceholderProperty

Identifies the Placeholder property.

Declaration
public static readonly BindableProperty PlaceholderProperty
Field Value
Xamarin.Forms.BindableProperty

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment property.

Declaration
public static readonly BindableProperty VerticalTextAlignmentProperty
Field Value
Xamarin.Forms.BindableProperty

WatermarkTextColorProperty

Identifies the WatermarkTextColor property.

Declaration
public static readonly BindableProperty WatermarkTextColorProperty
Field Value
Xamarin.Forms.BindableProperty

WatermarkTextProperty

Identifies the WatermarkText property.

Declaration
public static readonly BindableProperty WatermarkTextProperty
Field Value
Xamarin.Forms.BindableProperty

Properties

BorderStyle

Gets or sets a BorderStyle defining the look of the border around the entry. The default value is defined by the OS.

Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
BorderStyle

DisplayedText

Gets the visible text of the entry.

Declaration
public string DisplayedText { get; }
Property Value
System.String

DisplayedTextColor

Gets or sets the color of the visible text of the entry.

Declaration
public Color DisplayedTextColor { get; set; }
Property Value
Xamarin.Forms.Color

DisplayedTextFont

Gets or sets the font of the visible text of the entry.

Declaration
public string DisplayedTextFont { get; set; }
Property Value
System.String

DisplayedTextFontSize

Gets or sets the font size of the visible text of the entry.

Declaration
public double DisplayedTextFontSize { get; set; }
Property Value
System.Double

HorizontalTextAlignment

Gets or sets the horizontal alignment of the text and image.

Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
Xamarin.Forms.TextAlignment

InputValue

Gets or sets the input value.

Declaration
public string InputValue { get; set; }
Property Value
System.String

Keyboard

Gets or sets type of the keyboard that will be visualized by the device.

Declaration
public Keyboard Keyboard { get; set; }
Property Value
Xamarin.Forms.Keyboard

Mask

Gets or sets a string defining the mask.

Declaration
public string Mask { get; set; }
Property Value
System.String

MaskType

Gets or sets the expected type of the mask.

Declaration
public MaskType MaskType { get; set; }
Property Value
MaskType

Placeholder

Gets or sets the char that will be used to mark an empty position. The default value is '_'.

Declaration
public char Placeholder { get; set; }
Property Value
System.Char

VerticalTextAlignment

Gets or sets the vertical alignment of the text.

Declaration
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
Xamarin.Forms.TextAlignment

WatermarkText

Gets or sets the watermark of the control.

Declaration
public string WatermarkText { get; set; }
Property Value
System.String

WatermarkTextColor

Gets or sets the color of the watermark.

Declaration
public Color WatermarkTextColor { get; set; }
Property Value
Xamarin.Forms.Color

Methods

OnPropertyChanged(String)

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

Sample Applications
  • Telerik Tagit
  • iOS Demo App
  • Android Demo App
Support Resources
  • iOS Wrappers
  • Android Wrappers
  • Xamarin.Forms SDK Examples
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.