共用方式為


NumberFormatAttribute.MaxPrecision 屬性

取得數字編輯器處理的小數位數上限。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public ReadOnly Property MaxPrecision As Nullable(Of Integer)
    Get
public Nullable<int> MaxPrecision { get; }
public:
property Nullable<int> MaxPrecision {
    Nullable<int> get ();
}
member MaxPrecision : Nullable<int>
function get MaxPrecision () : Nullable<int>

屬性值

型別:System.Nullable<Int32>
整數,表示數字編輯器處理的小數位數上限。

.NET Framework 安全性

請參閱

參考

NumberFormatAttribute 類別

Microsoft.Windows.Design.PropertyEditing 命名空間