C# Class ComponentFactory.Krypton.Toolkit.ViewDrawMonthUpDown

View element that can draw a month calendar button.
Inheritance: ViewDrawButton
Afficher le fichier Open project: ComponentFactory/Krypton

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.

RenderAfter ( RenderContext context ) : void

Perform rendering after child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawMonthUpDown ( IPaletteTriple paletteState, IPaletteMetric paletteMetric, IContentValues buttonValues, DrawMonthCalendarGlyph glyph, NeedPaintHandler needPaintHandler ) : System

Initialize a new instance of the ViewDrawMonthUpDown class.

Méthodes protégées

Méthode Description
OnButtonClick ( object sender, MouseEventArgs e ) : void

Raises the Click event.

OnButtonMouseSelect ( object sender, MouseEventArgs e ) : void

Raises the MouseSelect event.

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

OnButtonClick() protected méthode

Raises the Click event.
protected OnButtonClick ( object sender, MouseEventArgs e ) : void
sender object Source of the event.
e MouseEventArgs Event arguments assocaited with the event.
Résultat void

OnButtonMouseSelect() protected méthode

Raises the MouseSelect event.
protected OnButtonMouseSelect ( object sender, MouseEventArgs e ) : void
sender object Source of the event.
e MouseEventArgs Event arguments assocaited with the event.
Résultat void

RenderAfter() public méthode

Perform rendering after child elements are rendered.
public RenderAfter ( 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

ViewDrawMonthUpDown() public méthode

Initialize a new instance of the ViewDrawMonthUpDown class.
public ViewDrawMonthUpDown ( IPaletteTriple paletteState, IPaletteMetric paletteMetric, IContentValues buttonValues, DrawMonthCalendarGlyph glyph, NeedPaintHandler needPaintHandler ) : System
paletteState IPaletteTriple Palette source for states.
paletteMetric IPaletteMetric Palette source for metric values.
buttonValues IContentValues Source for content values.
glyph DrawMonthCalendarGlyph Glyph to be drawn.
needPaintHandler NeedPaintHandler Delegate for requests repainting.
Résultat System