C# 클래스 NClass.AssemblyImport.Controls.ControlDrawHelper

파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

공개 메소드들

메소드 설명
DrawImageComboBoxItem ( Graphics graphics, object value, ImageList imageList, Size imageSize, Rectangle bounds, Font font, Color foreColor ) : void

Draws a single combobox item.

메소드 상세

DrawImageComboBoxItem() 공개 정적인 메소드

Draws a single combobox item.
public static DrawImageComboBoxItem ( Graphics graphics, object value, ImageList imageList, Size imageSize, Rectangle bounds, Font font, Color foreColor ) : void
graphics System.Drawing.Graphics An instance of used to draw the item.
value object The item to draw. If null, nothing is drawn.
imageList System.Windows.Forms.ImageList An to take the images from (if no image is given via the item).
imageSize System.Drawing.Size The size of the image area. If no image is present, this place won't be drawn.
bounds System.Drawing.Rectangle A representing the area of the item.
font System.Drawing.Font The font of the text.
foreColor System.Drawing.Color The color of the text.
리턴 void