C# 클래스 ComponentFactory.Krypton.Toolkit.ViewDrawDateTimeButton

View element that can draw a date time picker button.
상속: ViewDrawButton
파일 보기 프로젝트 열기: ComponentFactory/Krypton

공개 메소드들

메소드 설명
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