Skip to content

Float Label Numeric Int Entry Control

The Float Label Numeric Int Entry control allows the developer to easily implement a control that can handle integers as separate from decimals.

FloatLabelNumericIntEntry

Properties

EditingView - NumericIntEntry

Gets or sets the NumericIntEntry.

Text - string

Gets or sets the text of the control.

PrefixValue - string

Gets or sets the prefix value.

MaxValue - decimal

Gets or sets the maximum value. Default is int.MaxValue.

MinValue - decimal

Gets or sets the minimum value. Default is int.MinValue.

Value - double

Gets or sets the value. Default is 0.

Format - string

Gets or sets the format specifier. Default is "0.##".

FontAttributes - FontAttributes

Gets or sets the font attributes. Default value is FontAttributes.None.

FontSize - double

Gets or sets the font size. Default value is Services.PlatformInfo.DefaultButtonFontSize.

FontFamily - string

Gets or sets the font family. Default value is Font.Default.FontFamily.

TextColor - Color

Gets or sets the text color. Default value is Black.

Example Usage

Xaml

<aurora:FloatLabelNumericIntEntry x:Name="integerEntry" Placeholder="Integer Entry" PrefixValue="$" Format="0000"  MaxValue="1000" />

C#

var decimal = new FloatLabelNumericIntEntry
    {
        PrefixValue = "$"
        Formar = "000",
        Placeholder = "Enter amount here"
    };