C# Class ComponentFactory.Krypton.Toolkit.KryptonContextMenuMonthCalendar

Inheritance: KryptonContextMenuItemBase
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

AddAnnuallyBoldedDate() public méthode

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.
Résultat void

AddBoldedDate() public méthode

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.
Résultat void

AddMonthlyBoldedDate() public méthode

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.
Résultat void

GenerateView() public méthode

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.
Résultat ViewBase

KryptonContextMenuMonthCalendar() public méthode

Initialize a new instance of the KryptonContextMenuMonthCalendar class.
public KryptonContextMenuMonthCalendar ( ) : System
Résultat System

OnDateChanged() protected méthode

Raises when the DateChanged event.
protected OnDateChanged ( DateRangeEventArgs e ) : void
e System.Windows.Forms.DateRangeEventArgs An DateRangeEventArgs that contains the event data.
Résultat void

OnSelectionEndChanged() protected méthode

Raises when the SelectionEndChanged event.
protected OnSelectionEndChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Résultat void

OnSelectionStartChanged() protected méthode

Raises when the SelectionStartChanged event.
protected OnSelectionStartChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
Résultat void

ProcessShortcut() public méthode

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.
Résultat bool

RemoveAllAnnuallyBoldedDates() public méthode

Removes all the annually bold dates.
public RemoveAllAnnuallyBoldedDates ( ) : void
Résultat void

RemoveAllBoldedDates() public méthode

Removes all the nonrecurring bold dates.
public RemoveAllBoldedDates ( ) : void
Résultat void

RemoveAllMonthlyBoldedDates() public méthode

Removes all the monthly bold dates.
public RemoveAllMonthlyBoldedDates ( ) : void
Résultat void

SetSelectionRange() public méthode

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.
Résultat void

ToString() public méthode

Returns a description of the instance.
public ToString ( ) : string
Résultat string