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

GrapeCity.Wpf.SpreadSheet.CellType.Editors 名前空間 : GcMask クラス
特定の書式をユーザーが定義できるエディタコントロールを表します。
オブジェクト モデル
GcMask クラス
シンタックス
'宣言
 
Public Class GcMask 
   Inherits FieldsEditorControl
public class GcMask : FieldsEditorControl 
解説

ユーザーは、さまざまなGrapeCity.Windows.InputMan.Fields.MaskFieldをGcMaskに追加して、目的に応じてさまざまな形式を設定できます。 テキストフィルターフィールド、リテラル表示フィールド、列挙選択フィールドをサポートしています。

ユーザーは、現在のGcMaskステータスを通知するためのヒントの透かし文字列を表示することもできます。 WatermarkNullとWatermarkDisplayNullを設定することにより、WatermarkDisplayNullにnull 参照 (Visual Basicでは Nothing)コンテンツがある場合に、ユーザーは異なる文字列を表示できます。

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

l

VisualStateGroup 名

VisualState 名

説明

CommonStates

Normal

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

CommonStates

Disabled

System.Windows.UIElement.IsEnabled が falseのときの外観を表します。

CommonStates

ReadOnly

IsReadOnly が trueのときの外観を表します。

CommonStates

MouseOver

System.Windows.UIElement.IsMouseOver が trueのときの外観を表します。

ActiveStates

Active

IsActive が trueのときの外観を表します。

ActiveStates

Inactive

IsActive が falseのときの外観を表します。

InputStates

Full

FieldsEditorControl.IsFull が trueのときの外観を表します。

InputStates

Completed

FieldsEditorControl.IsCompleted が trueのときの外観を表します。

InputStates

Empty

FieldsEditorControl.IsEmpty が trueのときの外観を表します。

InputStates

Part

FieldsEditorControl.IsFull、FieldsEditorControl.IsCompletedとFieldsEditorControl.IsEmptyがfalseの場合の外観を表します。

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.GcMask

参照

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