名前空間一覧 > GrapeCity.Web.Input.IMNumber 名前空間 : NumberDisplayFormat クラス |
Public Class NumberDisplayFormat Inherits NumberFormat
public class NumberDisplayFormat : NumberFormat
' 入力書式の設定 GcNumber1.Format.Digit = "######.##" GcNumber1.Format.PositivePrefix = "+" GcNumber1.Format.NegativePrefix = "-" GcNumber1.Format.PositiveSuffix = "" GcNumber1.Format.NegativeSuffix = "" ' 表示書式の設定 GcNumber1.DisplayFormat.Digit = "###,##0.00" GcNumber1.DisplayFormat.PositivePrefix = "$" GcNumber1.DisplayFormat.NegativePrefix = "$-" GcNumber1.DisplayFormat.PositiveSuffix = "(税別)" GcNumber1.DisplayFormat.NegativeSuffix = "(税別)" ' 記号などの設定 GcNumber1.CurrencySymbol = "\" GcNumber1.DecimalPoint = "." GcNumber1.Separator = "," GcNumber1.NegativeColor = Color.Red ' 入力許可範囲の設定 GcNumber1.MinValue = -99999.99D GcNumber1.MaxValue = 99999.99D
// 入力書式の設定 GcNumber1.Format.Digit = "######.##"; GcNumber1.Format.PositivePrefix = "+"; GcNumber1.Format.NegativePrefix = "-"; GcNumber1.Format.PositiveSuffix = ""; GcNumber1.Format.NegativeSuffix = ""; // 表示書式の設定 GcNumber1.DisplayFormat.Digit = "###,##0.00"; GcNumber1.DisplayFormat.PositivePrefix = "$"; GcNumber1.DisplayFormat.NegativePrefix = "$-"; GcNumber1.DisplayFormat.PositiveSuffix = "(税別)"; GcNumber1.DisplayFormat.NegativeSuffix = "(税別)"; // 記号などの設定 GcNumber1.CurrencySymbol = "\\"; GcNumber1.DecimalPoint = '.'; GcNumber1.Separator = ','; GcNumber1.NegativeColor = Color.Red; // 入力許可範囲の設定 GcNumber1.MinValue = -99999.99M; GcNumber1.MaxValue = 99999.99M;
Imports GrapeCity.Web.Input.IMNumber ' 入力書式の設定 GcNumber1.Format = New NumberFormat("######.##", "+", "-", "", "") ' 表示書式の設定 GcNumber1.DisplayFormat = New NumberDisplayFormat("###,##0.00", "$", "$-", "(税別)", "(税別)") ' 記号などの設定 GcNumber1.CurrencySymbol = "\" GcNumber1.DecimalPoint = "." GcNumber1.Separator = "," GcNumber1.NegativeColor = Color.Red ' 入力許可範囲の設定 GcNumber1.MinValue = -99999.99D GcNumber1.MaxValue = 99999.99D
using GrapeCity.Web.Input.IMNumber; // 入力書式の設定 GcNumber1.Format = new NumberFormat("######.##", "+", "-", "", ""); // 表示書式の設定 GcNumber1.DisplayFormat = new NumberDisplayFormat("###,##0.00", "$", "$-", "(税別)", "(税別)"); // 記号などの設定 GcNumber1.CurrencySymbol = "\\"; GcNumber1.DecimalPoint = '.'; GcNumber1.Separator = ','; GcNumber1.NegativeColor = Color.Red; // 入力許可範囲の設定 GcNumber1.MinValue = -99999.99M; GcNumber1.MaxValue = 99999.99M;
System.Object
GrapeCity.Web.Input.Core.NotifyObject
GrapeCity.Web.Input.Core.BaseViewState
GrapeCity.Web.Input.Core.Format
GrapeCity.Web.Input.IMNumber.NumberFormat
GrapeCity.Web.Input.IMNumber.NumberDisplayFormat