C# Класс ComponentFactory.Krypton.Toolkit.KryptonContextMenuMonthCalendar

Наследование: KryptonContextMenuItemBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ResetAnnuallyBoldedDates void
ResetBoldedDates void
ResetDayOfWeekStyle void
ResetDayStyle void
ResetFirstDayOfWeek void
ResetMaxDate void
ResetMinDate void
ResetMonthlyBoldedDates void
ResetSelectionEnd void
ResetSelectionRange void
ResetSelectionStart void
ResetTodayDate void
ResetTodayText void
SetBoldedOverride void
SetFocusDay void
SetFocusOverride void
SetPaletteRedirect void
SetRange void
SetSelRange void
SetTodayOverride void
ShouldSerializeAnnuallyBoldedDates bool
ShouldSerializeBoldedDates bool
ShouldSerializeDayOfWeekStyle bool
ShouldSerializeDayStyle bool
ShouldSerializeFirstDayOfWeek bool
ShouldSerializeHeaderStyle bool
ShouldSerializeMaxDate bool
ShouldSerializeMinDate bool
ShouldSerializeMonthlyBoldedDates bool
ShouldSerializeOverrideBolded bool
ShouldSerializeOverrideFocus bool
ShouldSerializeOverrideToday bool
ShouldSerializeSelectionEnd bool
ShouldSerializeSelectionRange bool
ShouldSerializeSelectionStart bool
ShouldSerializeStateCheckedNormal bool
ShouldSerializeStateCheckedPressed bool
ShouldSerializeStateCheckedTracking bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeStatePressed bool
ShouldSerializeStateTracking bool
ShouldSerializeTodayDate bool
this KryptonContextMenuItemBase

Открытые методы

Метод Описание
AddAnnuallyBoldedDate ( System.DateTime date ) : void

Adds a day that is displayed in bold on an annual basis in the month calendar.

AddBoldedDate ( System.DateTime date ) : void

Adds a day to be displayed in bold in the month calendar.

AddMonthlyBoldedDate ( System.DateTime date ) : void

Adds a day that is displayed in bold on a monthly basis in the month calendar.

GenerateView ( IContextMenuProvider provider, object parent, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : ViewBase

Returns a view appropriate for this item based on the object it is inside.

KryptonContextMenuMonthCalendar ( ) : System

Initialize a new instance of the KryptonContextMenuMonthCalendar class.

ProcessShortcut ( Keys keyData ) : bool

Test for the provided shortcut and perform relevant action if a match is found.

RemoveAllAnnuallyBoldedDates ( ) : void

Removes all the annually bold dates.

RemoveAllBoldedDates ( ) : void

Removes all the nonrecurring bold dates.

RemoveAllMonthlyBoldedDates ( ) : void

Removes all the monthly bold dates.

SetSelectionRange ( System.DateTime start, System.DateTime end ) : void

Set the selection range.

ToString ( ) : string

Returns a description of the instance.

Защищенные методы

Метод Описание
OnDateChanged ( DateRangeEventArgs e ) : void

Raises when the DateChanged event.

OnSelectionEndChanged ( EventArgs e ) : void

Raises when the SelectionEndChanged event.

OnSelectionStartChanged ( EventArgs e ) : void

Raises when the SelectionStartChanged event.

Приватные методы

Метод Описание
ResetAnnuallyBoldedDates ( ) : void
ResetBoldedDates ( ) : void
ResetDayOfWeekStyle ( ) : void
ResetDayStyle ( ) : void
ResetFirstDayOfWeek ( ) : void
ResetMaxDate ( ) : void
ResetMinDate ( ) : void
ResetMonthlyBoldedDates ( ) : void
ResetSelectionEnd ( ) : void
ResetSelectionRange ( ) : void
ResetSelectionStart ( ) : void
ResetTodayDate ( ) : void
ResetTodayText ( ) : void
SetBoldedOverride ( bool bolded ) : void
SetFocusDay ( ) : void
SetFocusOverride ( bool focus ) : void
SetPaletteRedirect ( PaletteRedirect redirector ) : void
SetRange ( ) : void
SetSelRange ( System.DateTime lower, System.DateTime upper ) : void
SetTodayOverride ( bool today ) : void
ShouldSerializeAnnuallyBoldedDates ( ) : bool
ShouldSerializeBoldedDates ( ) : bool
ShouldSerializeDayOfWeekStyle ( ) : bool
ShouldSerializeDayStyle ( ) : bool
ShouldSerializeFirstDayOfWeek ( ) : bool
ShouldSerializeHeaderStyle ( ) : bool
ShouldSerializeMaxDate ( ) : bool
ShouldSerializeMinDate ( ) : bool
ShouldSerializeMonthlyBoldedDates ( ) : bool
ShouldSerializeOverrideBolded ( ) : bool
ShouldSerializeOverrideFocus ( ) : bool
ShouldSerializeOverrideToday ( ) : bool
ShouldSerializeSelectionEnd ( ) : bool
ShouldSerializeSelectionRange ( ) : bool
ShouldSerializeSelectionStart ( ) : bool
ShouldSerializeStateCheckedNormal ( ) : bool
ShouldSerializeStateCheckedPressed ( ) : bool
ShouldSerializeStateCheckedTracking ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeStatePressed ( ) : bool
ShouldSerializeStateTracking ( ) : bool
ShouldSerializeTodayDate ( ) : bool
this ( int index ) : KryptonContextMenuItemBase

Описание методов

AddAnnuallyBoldedDate() публичный Метод

Adds a day that is displayed in bold on an annual basis in the month calendar.
public AddAnnuallyBoldedDate ( System.DateTime date ) : void
date System.DateTime The date to be displayed in bold.
Результат void

AddBoldedDate() публичный Метод

Adds a day to be displayed in bold in the month calendar.
public AddBoldedDate ( System.DateTime date ) : void
date System.DateTime The date to be displayed in bold.
Результат void

AddMonthlyBoldedDate() публичный Метод

Adds a day that is displayed in bold on a monthly basis in the month calendar.
public AddMonthlyBoldedDate ( System.DateTime date ) : void
date System.DateTime The date to be displayed in bold.
Результат void

GenerateView() публичный Метод

Returns a view appropriate for this item based on the object it is inside.
public GenerateView ( IContextMenuProvider provider, object parent, ViewLayoutStack columns, bool standardStyle, bool imageColumn ) : ViewBase
provider IContextMenuProvider Provider of context menu information.
parent object Owning object reference.
columns ViewLayoutStack Containing columns.
standardStyle bool Draw items with standard or alternate style.
imageColumn bool Draw an image background for the item images.
Результат ViewBase

KryptonContextMenuMonthCalendar() публичный Метод

Initialize a new instance of the KryptonContextMenuMonthCalendar class.
public KryptonContextMenuMonthCalendar ( ) : System
Результат System

OnDateChanged() защищенный Метод

Raises when the DateChanged event.
protected OnDateChanged ( DateRangeEventArgs e ) : void
e System.Windows.Forms.DateRangeEventArgs An DateRangeEventArgs that contains the event data.
Результат void

OnSelectionEndChanged() защищенный Метод

Raises when the SelectionEndChanged event.
protected OnSelectionEndChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

OnSelectionStartChanged() защищенный Метод

Raises when the SelectionStartChanged event.
protected OnSelectionStartChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Результат void

ProcessShortcut() публичный Метод

Test for the provided shortcut and perform relevant action if a match is found.
public ProcessShortcut ( Keys keyData ) : bool
keyData Keys Key data to check against shorcut definitions.
Результат bool

RemoveAllAnnuallyBoldedDates() публичный Метод

Removes all the annually bold dates.
public RemoveAllAnnuallyBoldedDates ( ) : void
Результат void

RemoveAllBoldedDates() публичный Метод

Removes all the nonrecurring bold dates.
public RemoveAllBoldedDates ( ) : void
Результат void

RemoveAllMonthlyBoldedDates() публичный Метод

Removes all the monthly bold dates.
public RemoveAllMonthlyBoldedDates ( ) : void
Результат void

SetSelectionRange() публичный Метод

Set the selection range.
public SetSelectionRange ( System.DateTime start, System.DateTime end ) : void
start System.DateTime New starting date.
end System.DateTime New ending date.
Результат void

ToString() публичный Метод

Returns a description of the instance.
public ToString ( ) : string
Результат string