C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMenuMonthCalendar

Draw element for a context menu month calendar.
Inheritance: ViewComposite, IKryptonMonthCalendar
Show file Open project: ComponentFactory/Krypton

Public Methods

Method Description
GetRenderer ( ) : IRenderer

Get the renderer.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

SetBoldedOverride ( bool bolded ) : void

Update usage of bolded overrides.

SetFocusOverride ( bool focus ) : void

Update usage of focus overrides.

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

Set the selection range.

SetTodayOverride ( bool today ) : void

Update usage of today overrides.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMenuMonthCalendar ( IContextMenuProvider provider, KryptonContextMenuMonthCalendar monthCalendar ) : System

Initialize a new instance of the ViewDrawMenuMonthCalendar class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

Method Details

Dispose() protected method

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
return void

GetRenderer() public method

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

Layout() public method

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
return void

SetBoldedOverride() public method

Update usage of bolded overrides.
public SetBoldedOverride ( bool bolded ) : void
bolded bool New bolded state.
return void

SetFocusOverride() public method

Update usage of focus overrides.
public SetFocusOverride ( bool focus ) : void
focus bool Should show focus.
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

SetTodayOverride() public method

Update usage of today overrides.
public SetTodayOverride ( bool today ) : void
today bool New today state.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawMenuMonthCalendar() public method

Initialize a new instance of the ViewDrawMenuMonthCalendar class.
public ViewDrawMenuMonthCalendar ( IContextMenuProvider provider, KryptonContextMenuMonthCalendar monthCalendar ) : System
provider IContextMenuProvider Reference to provider.
monthCalendar KryptonContextMenuMonthCalendar Reference to owning month calendar entry.
return System