Category / Section
How to group the currency value in WPF CurrencyTextBox ?
1 min read
You can group the currency value by using CurrencyGroupSeperator and CurrencyGroupSizes properties of WPF CurrencyTextBox. You can show the group separator by enable the GroupSeperatorEnabled property to true.
XAML
//Code Explains How to group the value in Currency TextBox <Grid> <syncfusion:CurrencyTextBox Name="Currency" Width="150" Height="60" CurrencyGroupSeparator="/" GroupSeperatorEnabled="True" CurrencyGroupSizes="5"></syncfusion:CurrencyTextBox> </Grid>
C#
//Code Explains How to group the value in Currency TextBox namespace CurrencyTextBox { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Currency.CurrencyGroupSizes = 5; } } }