C# Class ComponentFactory.Krypton.Toolkit.KryptonContextMenuMonthCalendar

Inheritance: KryptonContextMenuItemBase
Mostrar archivo Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property 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

Public Methods

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

Protected Methods

Method 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

Method 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 method

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.
return void

AddBoldedDate() public method

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.
return void

AddMonthlyBoldedDate() public method

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.
return void

GenerateView() public method

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.
return ViewBase

KryptonContextMenuMonthCalendar() public method

Initialize a new instance of the KryptonContextMenuMonthCalendar class.
public KryptonContextMenuMonthCalendar ( ) : System
return System

OnDateChanged() protected method

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

OnSelectionEndChanged() protected method

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

OnSelectionStartChanged() protected method

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

ProcessShortcut() public method

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.
return bool

RemoveAllAnnuallyBoldedDates() public method

Removes all the annually bold dates.
public RemoveAllAnnuallyBoldedDates ( ) : void
return void

RemoveAllBoldedDates() public method

Removes all the nonrecurring bold dates.
public RemoveAllBoldedDates ( ) : void
return void

RemoveAllMonthlyBoldedDates() public method

Removes all the monthly bold dates.
public RemoveAllMonthlyBoldedDates ( ) : void
return void

SetSelectionRange() public method

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.
return void

ToString() public method

Returns a description of the instance.
public ToString ( ) : string
return string