Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 641 Bytes

File metadata and controls

21 lines (14 loc) · 641 Bytes

Thousand Separators in .Net Maui Entry

2025-02-15_21-27-24

How to use:

Add the ThousandSeparators.dll to your project's dependencies, and call UseThousandSeparators() method on MauiAppBuilder in MauiProgram.cs

Then in Xaml file declare a namespace like this:

xmlns:entries="clr-namespace:ThousandSeparators.Controls;assembly=ThousandSeparators"

<entries:CurrencyEntry
    HorizontalOptions="Fill"
    Keyboard="Numeric"
    Placeholder="Amount"
    UseSeparator="True" />

Hence Keyboard should be set to Numeric and UseSeparator must be True