Sandbox Logo

TextEntry.NumberFormat

string NumberFormat { get; set; }

Description

Affects formatting of the text when <see cref="P:Sandbox.UI.TextEntry.Numeric" /> is enabled. Accepts any format that is supported by <see cref="M:System.Single.ToString(System.String)" />. <a href="https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings">See examples here</a>.

Return

User Comments