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

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

ユーザーはさまざまな MaskField を GcMask に追加して目的の書式を設定できます。テキストフィルタフィールド、リテラル表示フィールド、および列挙値選択フィールドがサポートされています。

現在の GcMask の状態を知らせるヒントとして透かし文字列を表示することもできます。WatermarkNull と WatermarkDisplayNull を設定することにより、GcMask の内容が 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

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

ActiveStates

Inactive

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

InputStates

Full

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

InputStates

Completed

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

InputStates

Empty

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

InputStates

Part

IsFull、IsCompleted、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.Windows.SpreadGrid.Editors.ControlBase
                        GrapeCity.Windows.SpreadGrid.Editors.EditBase
                           GrapeCity.Windows.SpreadGrid.Editors.FieldsEditorControl
                              GrapeCity.Windows.SpreadGrid.Editors.GcMask
                                 GrapeCity.Windows.SpreadGrid.Editors.MaskEditElement

参照

参照

GcMask メンバ
GrapeCity.Windows.SpreadGrid.Editors 名前空間