C# Класс ComponentFactory.Krypton.Toolkit.ViewDrawDateTimeButton

View element that can draw a date time picker button.
Наследование: ViewDrawButton
Показать файл Открыть проект

Открытые методы

Метод Описание
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RemoveFixed ( ) : void

Remove the fixed appearance of the button.

RenderAfter ( RenderContext context ) : void

Perform rendering after child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawDateTimeButton ( KryptonDateTimePicker dateTimePicker, IPaletteTriple paletteState, IPaletteMetric paletteMetric, IContentValues buttonValues, DrawDateTimeGlyph glyph, NeedPaintHandler needPaintHandler, bool repeat ) : System

Initialize a new instance of the ViewDrawButton class.

Защищенные методы

Метод Описание
CheckPaletteState ( ViewContext context ) : void

Check that the palette and state are correct.

OnButtonClick ( object sender, MouseEventArgs e ) : void

Raises the Click event.

OnButtonMouseSelect ( object sender, MouseEventArgs e ) : void

Raises the MouseSelect event.

Описание методов

CheckPaletteState() защищенный Метод

Check that the palette and state are correct.
protected CheckPaletteState ( ViewContext context ) : void
context ViewContext Reference to the view context.
Результат void

GetPreferredSize() публичный Метод

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
Результат System.Drawing.Size

Layout() публичный Метод

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Результат void

OnButtonClick() защищенный Метод

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.
Результат void

OnButtonMouseSelect() защищенный Метод

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.
Результат void

RemoveFixed() публичный Метод

Remove the fixed appearance of the button.
public RemoveFixed ( ) : void
Результат void

RenderAfter() публичный Метод

Perform rendering after child elements are rendered.
public RenderAfter ( RenderContext context ) : void
context RenderContext Rendering context.
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

ViewDrawDateTimeButton() публичный Метод

Initialize a new instance of the ViewDrawButton class.
public ViewDrawDateTimeButton ( KryptonDateTimePicker dateTimePicker, IPaletteTriple paletteState, IPaletteMetric paletteMetric, IContentValues buttonValues, DrawDateTimeGlyph glyph, NeedPaintHandler needPaintHandler, bool repeat ) : System
dateTimePicker KryptonDateTimePicker Owning control.
paletteState IPaletteTriple Palette source for states.
paletteMetric IPaletteMetric Palette source for metric values.
buttonValues IContentValues Source for content values.
glyph DrawDateTimeGlyph Glyph to be drawn.
needPaintHandler NeedPaintHandler Delegate for requests repainting.
repeat bool Should button repeat.
Результат System