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

GrapeCity.Wpf.SpreadSheet.CellType.Editors 名前空間 : CalendarButton クラス
GrapeCity.Windows.InputMan.Primitives.CalendarInfoを表現するための CalendarButton コントロールを表します。これは、 GcDropDownCalendar.DisplayMode プロパティが GrapeCity.Windows.InputMan.CalendarMode.Year の場合は月を表し、 GcDropDownCalendar.DisplayMode プロパティが GrapeCity.Windows.InputMan.CalendarMode.Decade の場合は年を表します。
オブジェクト モデル
CalendarButton クラス
シンタックス
'宣言
 
Public NotInheritable Class CalendarButton 
   Inherits System.Windows.Controls.Button
public sealed class CalendarButton : System.Windows.Controls.Button 
解説
CalendarButton は、スタイル設定で視覚的表現をカスタマイズできるいくつかのプロパティを提供します。

IsInactiveは、CalendarButtonが後続のステータスであるかどうかを示します。 CalendarButtonが表す日付に選択した日が含まれているかどうかを示すHasSelectedDays。

CalendarButtonは、それが表す日付に関する詳細情報を提供するためのCalendarInfoプロパティも提供します。 これはSystem.Windows.Controls.ContentControl.Contentプロパティに設定されており、System.Windows.Controls.ContentControl.ContentTemplateでデータ表示をカスタマイズすることもできます。

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

VisualStateGroup Name

VisualState Name

説明

CommonStates

Normal

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

CommonStates

Disabled

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

CommonStates

Pressed

System.Windows.Controls.Primitives.ButtonBase.IsPressedがtrueのときの外観を表します。

CommonStates

MouseOver

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

SelectionStates

Selected

IsHighlightedまたはHasSelectedDaysがtrueの場合の外観を表します。
選択された状態がSystem.Windows.Controls.ControlTemplateで定義されていない場合、Selected状態が使用されます。

SelectionStates

Unselected

IsHighlightedとHasSelectedDaysがすべてfalseの場合の外観を表します。

ActiveStates

Active

IsInactiveがfalseのときの外観を表します。
System.Windows.Controls.ControlTemplateでActive状態が定義されていない場合、Inactive状態が使用されます。

ActiveStates

Inactive

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

CalendarButtonFocusStates

CalendarButtonFocused

System.Windows.UIElement.IsKeyboardFocusedがtrueのときの外観を表します。
CalendarButtonFocusedの状態がSystem.Windows.Controls.ControlTemplateで定義されていない場合、CalendarButtonUnfocusedの状態が使用されます。

CalendarButtonFocusStates

CalendarButtonUnfocused

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

FocusStates

Focused

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

FocusStates

Unfocused

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

ValidationStates

Valid

Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)がfalseを返すときの外観を表します。

ValidationStates

InvalidFocused

System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)がtrueを返し、System.Windows.UIElement.IsKeyboardFocusedがtrueの場合の外観を表します。

ValidationStates

InvalidUnfocused

System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject)がtrueを返し、System.Windows.UIElement.IsKeyboardFocusedがfalseの場合の外観を表します。

継承階層

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        System.Windows.Controls.Primitives.ButtonBase
                           System.Windows.Controls.Button
                              GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarButton

参照

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