C# Class ComponentFactory.Krypton.Toolkit.KryptonMonthCalendar

Inheritance: VisualSimpleBase, IKryptonMonthCalendar
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
AdjustSize void
DesignerComponentFromPoint System.ComponentModel.Component
DesignerGetHitTest bool
DesignerMouseLeave void
EffectiveMaxDate System.DateTime
EffectiveMinDate System.DateTime
ResetAnnuallyBoldedDates void
ResetBoldedDates void
ResetControlBackStyle void
ResetControlBorderStyle void
ResetDayOfWeekStyle void
ResetDayStyle void
ResetHeaderStyle void
ResetMaxDate void
ResetMinDate void
ResetMonthlyBoldedDates void
ResetSelectionEnd void
ResetSelectionRange void
ResetSelectionStart void
ResetTodayDate void
SetBoldedOverride void
SetFocusDay void
SetFocusOverride void
SetRange void
SetSelRange void
SetTodayOverride void
ShouldSerializeAnnuallyBoldedDates bool
ShouldSerializeBoldedDates bool
ShouldSerializeControlBackStyle bool
ShouldSerializeControlBorderStyle bool
ShouldSerializeDayOfWeekStyle bool
ShouldSerializeDayStyle 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
UpdateFocusOverride void

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.

GetRenderer ( ) : IRenderer

Get the renderer.

KryptonMonthCalendar ( ) : System

Initialize a new instance of the KryptonMonthCalendar class.

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.

Protected Methods

Method Description
IsInputChar ( char charCode ) : bool

Determines if a character is an input character that the control recognizes.

IsInputKey ( Keys keyData ) : bool

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

OnBackColorChanged ( EventArgs e ) : void

Raises the BackColorChanged event.

OnBackgroundImageChanged ( EventArgs e ) : void

Raises the BackgroundImageChanged event.

OnBackgroundImageLayoutChanged ( EventArgs e ) : void

Raises the BackgroundImageLayoutChanged event.

OnButtonSpecChanged ( object sender, EventArgs e ) : void

Processes a notification from palette storage of a button spec change.

OnClick ( EventArgs e ) : void

Raises the Click event.

OnDateChanged ( DateRangeEventArgs e ) : void

Raises when the DateChanged event.

OnDoubleClick ( EventArgs e ) : void

Raises the DoubleClick event.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnFontChanged ( EventArgs e ) : void

Raises the FontChanged event.

OnForeColorChanged ( EventArgs e ) : void

Raises the ForeColorChanged event.

OnGotFocus ( EventArgs e ) : void

Raises when the GotFocus event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event.

OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void

Raises the Layout event.

OnLostFocus ( EventArgs e ) : void

Raises when the LostFocus event.

OnPaddingChanged ( EventArgs e ) : void

Raises the PaddingChanged event.

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event.

OnSelectionEndChanged ( EventArgs e ) : void

Raises when the SelectionEndChanged event.

OnSelectionStartChanged ( EventArgs e ) : void

Raises when the SelectionStartChanged event.

OnTextChanged ( EventArgs e ) : void

Raises the TextChanged event.

SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void

Performs the work of setting the specified bounds of this control.

Private Methods

Method Description
AdjustSize ( int &width, int &height ) : void
DesignerComponentFromPoint ( Point pt ) : Component
DesignerGetHitTest ( Point pt ) : bool
DesignerMouseLeave ( ) : void
EffectiveMaxDate ( System.DateTime maxDate ) : System.DateTime
EffectiveMinDate ( System.DateTime minDate ) : System.DateTime
ResetAnnuallyBoldedDates ( ) : void
ResetBoldedDates ( ) : void
ResetControlBackStyle ( ) : void
ResetControlBorderStyle ( ) : void
ResetDayOfWeekStyle ( ) : void
ResetDayStyle ( ) : void
ResetHeaderStyle ( ) : void
ResetMaxDate ( ) : void
ResetMinDate ( ) : void
ResetMonthlyBoldedDates ( ) : void
ResetSelectionEnd ( ) : void
ResetSelectionRange ( ) : void
ResetSelectionStart ( ) : void
ResetTodayDate ( ) : void
SetBoldedOverride ( bool bolded ) : void
SetFocusDay ( ) : void
SetFocusOverride ( bool focus ) : void
SetRange ( ) : void
SetSelRange ( System.DateTime lower, System.DateTime upper ) : void
SetTodayOverride ( bool today ) : void
ShouldSerializeAnnuallyBoldedDates ( ) : bool
ShouldSerializeBoldedDates ( ) : bool
ShouldSerializeControlBackStyle ( ) : bool
ShouldSerializeControlBorderStyle ( ) : bool
ShouldSerializeDayOfWeekStyle ( ) : bool
ShouldSerializeDayStyle ( ) : 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
UpdateFocusOverride ( bool focus ) : void

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

GetRenderer() public method

Get the renderer.
public GetRenderer ( ) : IRenderer
return IRenderer

IsInputChar() protected method

Determines if a character is an input character that the control recognizes.
protected IsInputChar ( char charCode ) : bool
charCode char The character to test.
return bool

IsInputKey() protected method

Determines whether the specified key is a regular input key or a special key that requires preprocessing.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys One of the Keys values.
return bool

KryptonMonthCalendar() public method

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

OnBackColorChanged() protected method

Raises the BackColorChanged event.
protected OnBackColorChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnBackgroundImageChanged() protected method

Raises the BackgroundImageChanged event.
protected OnBackgroundImageChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnBackgroundImageLayoutChanged() protected method

Raises the BackgroundImageLayoutChanged event.
protected OnBackgroundImageLayoutChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnButtonSpecChanged() protected method

Processes a notification from palette storage of a button spec change.
protected OnButtonSpecChanged ( object sender, EventArgs e ) : void
sender object Source of notification.
e System.EventArgs An EventArgs containing event data.
return void

OnClick() protected method

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnDateChanged() protected method

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

OnDoubleClick() protected method

Raises the DoubleClick event.
protected OnDoubleClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnEnabledChanged() protected method

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnFontChanged() protected method

Raises the FontChanged event.
protected OnFontChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnForeColorChanged() protected method

Raises the ForeColorChanged event.
protected OnForeColorChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnGotFocus() protected method

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

OnKeyDown() protected method

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data.
return void

OnLayout() protected method

Raises the Layout event.
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void
levent System.Windows.Forms.LayoutEventArgs A LayoutEventArgs that contains the event data.
return void

OnLostFocus() protected method

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

OnPaddingChanged() protected method

Raises the PaddingChanged event.
protected OnPaddingChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnPaint() protected method

Raises the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs An PaintEventArgs 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

OnTextChanged() protected method

Raises the TextChanged event.
protected OnTextChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

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

SetBoundsCore() protected method

Performs the work of setting the specified bounds of this control.
protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int The new Left property value of the control.
y int The new Top property value of the control.
width int The new Width property value of the control.
height int The new Height property value of the control.
specified BoundsSpecified A bitwise combination of the BoundsSpecified values.
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