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

View element that represents a single gallery item.
상속: ViewDrawButton, IContentValues
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

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

GetShortText ( ) : string

Gets the content short text.

Render ( RenderContext context ) : void

Perform a render of the elements.

ToString ( ) : string

Obtains the String representation of this instance.

Track ( ) : void

Item is becoming tracked by the mouse.

Untrack ( ) : void

Item is becoming tracked by the mouse.

ViewDrawMenuImageSelectItem ( ViewContextMenuManager viewManager, KryptonContextMenuImageSelect imageSelect, IPaletteTriple palette, ViewLayoutMenuItemSelect layout, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawMenuImageSelectItem class.

비공개 메소드들

메소드 설명
OnItemClick ( object sender, MouseEventArgs e ) : 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

GetShortText() 공개 메소드

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

Render() 공개 메소드

Perform a render of the elements.
public Render ( RenderContext context ) : void
context RenderContext Rendering context.
리턴 void

ToString() 공개 메소드

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

Track() 공개 메소드

Item is becoming tracked by the mouse.
public Track ( ) : void
리턴 void

Untrack() 공개 메소드

Item is becoming tracked by the mouse.
public Untrack ( ) : void
리턴 void

ViewDrawMenuImageSelectItem() 공개 메소드

Initialize a new instance of the ViewDrawMenuImageSelectItem class.
public ViewDrawMenuImageSelectItem ( ViewContextMenuManager viewManager, KryptonContextMenuImageSelect imageSelect, IPaletteTriple palette, ViewLayoutMenuItemSelect layout, NeedPaintHandler needPaint ) : System
viewManager ViewContextMenuManager Owning view manager instance.
imageSelect KryptonContextMenuImageSelect Owning image select instance.
palette IPaletteTriple Palette used to recover values.
layout ViewLayoutMenuItemSelect Reference to item layout.
needPaint NeedPaintHandler Delegate for requesting paints.
리턴 System