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

GrapeCity.Wpf.SpreadSheet.CellType アセンブリ > 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 を設定することにより、GcMask の内容が GcMask の場合に異なる文字列を表示できます。

サポートされている 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 名前空間