C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutWeekCorner

Allocate space for the week number corner in the month calendar.
Inheritance: ViewLeaf
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

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.

ViewLayoutWeekCorner ( IKryptonMonthCalendar calendar, ViewLayoutMonths months, PaletteBorder palette ) : System

Initialize a new instance of the ViewLayoutWeekCorner class.

Method Details

GetPreferredSize() public méthode

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

Layout() public méthode

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Résultat void

RenderBefore() public méthode

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

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewLayoutWeekCorner() public méthode

Initialize a new instance of the ViewLayoutWeekCorner class.
public ViewLayoutWeekCorner ( IKryptonMonthCalendar calendar, ViewLayoutMonths months, PaletteBorder palette ) : System
calendar IKryptonMonthCalendar Reference to calendar provider.
months ViewLayoutMonths Reference to months instance.
palette PaletteBorder Reference to border palette.
Résultat System