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

Draws all the month grid entries including the column names and day values
상속: ViewLeaf, IContentValues
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
DayFromPoint ( Point pt, bool exact ) : DateTime?

Gets the day that is underneath the provided point.

DayNearPoint ( Point pt ) : System.DateTime

Gets the button for the day that is nearest (date wise) to the point provided.

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.

ViewDrawMonthDays ( IKryptonMonthCalendar calendar, ViewLayoutMonths months ) : System

Initialize a new instance of the ViewDrawMonthDays class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

비공개 메소드들

메소드 설명
BoldedDate ( System.DateTime date ) : bool

메소드 상세

DayFromPoint() 공개 메소드

Gets the day that is underneath the provided point.
public DayFromPoint ( Point pt, bool exact ) : DateTime?
pt Point Point to lookup.
exact bool Exact requires that the day must be with the month range.
리턴 DateTime?

DayNearPoint() 공개 메소드

Gets the button for the day that is nearest (date wise) to the point provided.
public DayNearPoint ( Point pt ) : System.DateTime
pt Point Point to lookup.
리턴 System.DateTime

Dispose() 보호된 메소드

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
리턴 void

GetImage() 공개 메소드

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

GetImageTransparentColor() 공개 메소드

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

GetLongText() 공개 메소드

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

GetPreferredSize() 공개 메소드

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

GetShortText() 공개 메소드

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

Layout() 공개 메소드

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

RenderBefore() 공개 메소드

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

ToString() 공개 메소드

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

ViewDrawMonthDays() 공개 메소드

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