[PR #1318] Support for IFormattable #2670

Open
opened 2026-01-29 18:19:55 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/1318

State: closed
Merged: Yes


  • As a follow-up to PR #1315 , to add support for IFormattable, for scenarios where custom numeric types would like to handle their own formatting.
  • Adjusts the code in SetParametersAsync to also support custom numeric types, and provides a fast path to avoid conversion if the value to be set is already of the correct type.
  • Provides demo examples of using custom numeric types with RadzenNumeric.
**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1318 **State:** closed **Merged:** Yes --- - As a follow-up to PR #1315 , to add support for `IFormattable`, for scenarios where custom numeric types would like to handle their own formatting. - Adjusts the code in `SetParametersAsync` to also support custom numeric types, and provides a fast path to avoid conversion if the value to be set is already of the correct type. - Provides demo examples of using custom numeric types with `RadzenNumeric`.
claunia added the pull-request label 2026-01-29 18:19:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2670