Property | Type | Description | |
---|---|---|---|
FirstDayOfMonth | System.DateTime | ||
JustDay | System.DateTime | ||
LastDayOfMonth | System.DateTime | ||
MaxGridCellDay | |||
MaxGridCellDayOfWeek | |||
OnCancelToolTip | void | ||
OnShowToolTip | void | ||
OnTodayClick | void | ||
OnVisualPopupToolTipDisposed | void | ||
SyncData | void | ||
SyncMonths | void |
Method | Description | |
---|---|---|
DayFromPoint ( Point pt, bool exact ) : DateTime? |
Gets the button for the day that is under the provided point.
|
|
DayNearPoint ( Point pt ) : System.DateTime |
Gets the button for the day that is nearest (date wise) to the point provided.
|
|
GetExtraSize ( |
Gets the size required to draw extra elements such as headers.
|
|
GetImage ( PaletteState state ) : Image |
Gets the content image.
|
|
GetImageTransparentColor ( PaletteState state ) : Color |
Gets the image color that should be transparent.
|
|
GetLongText ( ) : string |
Gets the content long text.
|
|
GetPreferredSize ( |
Discover the preferred size of the element.
|
|
GetShortText ( ) : string |
Gets the content short text.
|
|
GetSingleMonthSize ( |
Gets the size required to draw a single month.
|
|
Layout ( |
Perform a layout of the elements.
|
|
NextMonth ( ) : void |
Move to the next month.
|
|
PrevMonth ( ) : void |
Move to the previous month.
|
|
ProcessKeyDown ( |
Process a key down by finding the correct month and calling the associated key controller.
|
|
RecreateButtons ( ) : void |
Recreate the set of button spec instances.
|
|
ToString ( ) : string |
Obtains the String representation of this instance.
|
|
ViewLayoutMonths ( IContextMenuProvider provider, |
Initialize a new instance of the ViewLayoutMonths class.
|
Method | Description | |
---|---|---|
FirstDayOfMonth ( System.DateTime dt ) : System.DateTime | ||
JustDay ( System.DateTime dt ) : System.DateTime | ||
LastDayOfMonth ( System.DateTime dt ) : System.DateTime | ||
MaxGridCellDay ( |
||
MaxGridCellDayOfWeek ( |
||
OnCancelToolTip ( object sender, |
||
OnShowToolTip ( object sender, |
||
OnTodayClick ( object sender, |
||
OnVisualPopupToolTipDisposed ( object sender, |
||
SyncData ( |
||
SyncMonths ( ) : void |
public DayFromPoint ( Point pt, bool exact ) : DateTime? | ||
pt | Point | Point to lookup. |
exact | bool | Exact requires that the day must be with the month range. |
return | DateTime? |
public DayNearPoint ( Point pt ) : System.DateTime | ||
pt | Point | Point to lookup. |
return | System.DateTime |
public GetExtraSize ( |
||
context | Layout context. | |
return |
public GetImage ( PaletteState state ) : Image | ||
state | PaletteState | The state for which the image is needed. |
return | Image |
public GetImageTransparentColor ( PaletteState state ) : Color | ||
state | PaletteState | The state for which the image is needed. |
return | Color |
public GetPreferredSize ( |
||
context | Layout context. | |
return |
public GetSingleMonthSize ( |
||
context | Layout context. | |
return |
public Layout ( |
||
context | Layout context. | |
return | void |
public ProcessKeyDown ( |
||
c | Owning control. | |
e | A KeyEventArgs that contains the event data. | |
return | bool |
public ViewLayoutMonths ( IContextMenuProvider provider, |
||
provider | IContextMenuProvider | Provider of context menu information. |
monthCalendar | Reference to owning month calendar entry. | |
viewManager | ViewContextMenuManager | Owning view manager instance. |
calendar | IKryptonMonthCalendar | Reference to calendar provider. |
redirector | Redirector for getting values. | |
needPaintDelegate | NeedPaintHandler | Delegate for requesting paint changes. |
return | System |