C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMonthDayNames

Draws the month day names.
Inheritance: ViewLeaf, IContentValues
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
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 ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GetShortText ( ) : string

Gets the content short text.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMonthDayNames ( IKryptonMonthCalendar calendar, ViewLayoutMonths months ) : System

Initialize a new instance of the ViewDrawMonthDayNames 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

GetImage() public method

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
return Image

GetImageTransparentColor() public method

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
return Color

GetLongText() public method

Gets the content long text.
public GetLongText ( ) : string
return string

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
return System.Drawing.Size

GetShortText() public method

Gets the content short text.
public GetShortText ( ) : string
return string

Layout() public method

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

RenderBefore() public method

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context RenderContext Rendering context.
return void

ToString() public method

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

ViewDrawMonthDayNames() public method

Initialize a new instance of the ViewDrawMonthDayNames class.
public ViewDrawMonthDayNames ( IKryptonMonthCalendar calendar, ViewLayoutMonths months ) : System
calendar IKryptonMonthCalendar Reference to calendar provider.
months ViewLayoutMonths Reference to months instance.
return System