SPREAD for WPF 4.0J - GcSpreadSheet
GcNumber クラス
メンバ 

GrapeCity.Wpf.SpreadSheet.CellType アセンブリ > GrapeCity.Wpf.SpreadSheet.CellType.Editors 名前空間 : GcNumber クラス
数字の入力やドロップダウン電卓による計算を実行できる数値エディタコントロールを表します。
オブジェクト モデル
GcNumber クラス
シンタックス
'宣言
 
Public Class GcNumber 
   Inherits FieldsEditorControl
public class GcNumber : FieldsEditorControl 
解説

GcNumberコントロールは、正の値と負の値の数値入力を提供し、機能的な数値入力インターフェイスを迅速かつ効率的に設計できるようにします。 データ入力中、ユーザーはいつでもマイナス記号「-」を押して、値を正と負の間で切り替えることができます。 また、プラス記号「+」は、負の値を正の値に変更します。

GcNumberコントロールは、独自のFieldSetプロパティNumberFieldSet値を設定して、さまざまな数字パターン、さまざまな符号文字列、およびさまざまな区切り文字を使用できます。 このフォーマットを使用して、ユーザーの入力動作を制限できます。 さらに、MaxValueおよびMinValueプロパティを設定することにより、値の範囲を制限できます。

GcNumberコントロールサポートの表示フィールド。 新しいNumberDisplayFieldSetプロパティを設定するか、独自のコンテンツを変更できます。 次に、GcNumberは、コントロールがキーボードフォーカスを失ったときに、表示テキストを変更できます。

ドロップダウン計算機を開いて計算を簡単に操作できます。DropDownCalculatorStyleプロパティを設定することで、ドロップダウン計算機のビューと動作を定義できます。

対応している System.Windows.VisualState リスト:

l

VisualStateGroup 名

VisualState 名

説明

CommonStates

Normal

コントロールが通常の状態にあるときの外観を表します。

CommonStates

Disabled

System.Windows.UIElement.IsEnabledfalseのときの外観を表します。

CommonStates

ReadOnly

IsReadOnlytrueのときの外観を表します。

CommonStates

MouseOver

System.Windows.UIElement.IsMouseOvertrueのときの外観を表します。

ActiveStates

ActiveDropDown

IsActiveIsDropDownOpentrueの場合の外観を表します。

ActiveStates

Active

IsActivetrueのときの外観を表します。

ActiveStates

Inactive

IsActivefalseのときの外観を表します。

InputStates

Full

FieldsEditorControl.IsFulltrueのときの外観を表します。

InputStates

Completed

FieldsEditorControl.IsCompletedtrueのときの外観を表します。

InputStates

Empty

FieldsEditorControl.IsEmptytrueのときの外観を表します。

InputStates

Part

FieldsEditorControl.IsFullFieldsEditorControl.IsCompletedFieldsEditorControl.IsEmptyがすべてfalseの場合の外観を表します。

SignStates

Negative

SignStateGrapeCity.Windows.InputMan.SignState.Negativeのときの外観を表します。

SignStates

Positive

SignStateGrapeCity.Windows.InputMan.SignState.Positiveのときの外観を表します。

SignStates

NoSign

SignStateGrapeCity.Windows.InputMan.SignState.Noneを返すときの外観を表します。.

ValidationStates

Valid

System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)falseを返すときの外観を表します。

ValidationStates

InvalidFocused

System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)trueを返し、コントロールにフォーカスがあるときの外観を表します。

ValidationStates

InvalidUnfocused

System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)trueを返し、コントロールにフォーカスがない場合の外観を表します。

継承階層

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlBase
                        GrapeCity.Wpf.SpreadSheet.CellType.Editors.EditBase
                           GrapeCity.Wpf.SpreadSheet.CellType.Editors.FieldsEditorControl
                              GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcNumber

参照

GcNumber メンバ
GrapeCity.Wpf.SpreadSheet.CellType.Editors 名前空間