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

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

IsInactive は、 CalendarDayButton が後続のステータスであるかどうかを示します。 IsSelectedは、CalendarDayButtonが表す日が選択されているかどうかを示します。 IsTodayは、CalendarDayButtonが今日を表す日かどうかを示します。 IsBlackedOutは、CalendarDayButtonが表す日が選択できないかどうかを示します。

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

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

VisualStateGroup Name

VisualState Name

Description

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 または IsSelected が trueのときの外観を表します。
Selected状態がSystem.Windows.Controls.ControlTemplateで定義されていない場合、Unselected状態が使用されます。

SelectionStates

Unselected

IsHighlighted およびi IsSelected が すべて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のときの外観を表します。

DayStates

Today

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

DayStates

RegularDay

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

BlackoutDayStates

BlackoutDay

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

BlackoutDayStates

NormalDay

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

HolidayStates

OverrideHoliday

GrapeCity.Windows.InputMan.Primitives.DayInfo.IsOverrideHoliday が trueのときの外観を表します。
System.Windows.Controls.ControlTemplateでOverrideHoliday状態が定義されていない場合、Holiday状態が使用されます。

HolidayStates

WeeklyHoliday

GrapeCity.Windows.InputMan.Primitives.DayInfo.IsWeeklyHoliday が trueのときの外観を表します。
System.Windows.Controls.ControlTemplateでWeeklyHoliday状態が定義されていない場合、Holiday状態が使用されます。

HolidayStates

Holiday

GrapeCity.Windows.InputMan.Primitives.DayInfo.IsHolidayがtrueであるが、GrapeCity.Windows.InputMan.Primitives.DayInfo.IsWeeklyHolidayとGrapeCity.Windows.InputMan.Primitives.DayInfo.IsOverrideHolidayがfalseの場合の外観を表します。

HolidayStates

ForcedWorkday

GrapeCity.Windows.InputMan.Primitives.DayInfo.IsForceWorkday が trueのときの外観を表します。
System.Windows.Controls.ControlTemplateでForcedWorkday状態が定義されていない場合、Workday状態が使用されます。

HolidayStates

Workday

GrapeCity.Windows.InputMan.Primitives.DayInfo.IsForceWorkday、GrapeCity.Windows.InputMan.Primitives.DayInfo.IsWeeklyHoliday、GrapeCity.Windows.InputMan.Primitives.DayInfo.IsOverrideHoliday、GrapeCity.Windows.InputMan.Primitives.DayInfo.IsHolidayがすべてfalseの場合の外観を表します。

FocusStates

Focused

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

FocusStates

Unfocused

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

ValidationStates

Valid

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

参照

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