Click or drag to resize

StiControlPaintDrawItem Method (Graphics, Rectangle, DrawItemState, String, ImageList, Int32, Font, Color, Color, Int32, RightToLeft, StringAlignment)

[Missing <summary> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

Namespace:  Stimulsoft.Base.Drawing
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static void DrawItem(
	Graphics graphics,
	Rectangle bounds,
	DrawItemState state,
	string text,
	ImageList imageList,
	int imageIndex,
	Font font,
	Color backColor,
	Color foreColor,
	int textStartPos,
	RightToLeft rightToLeft,
	StringAlignment alignment
)

Parameters

graphics
Type: System.DrawingGraphics

[Missing <param name="graphics"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

bounds
Type: System.DrawingRectangle

[Missing <param name="bounds"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

state
Type: System.Windows.FormsDrawItemState

[Missing <param name="state"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

imageList
Type: System.Windows.FormsImageList

[Missing <param name="imageList"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

imageIndex
Type: SystemInt32

[Missing <param name="imageIndex"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

font
Type: System.DrawingFont

[Missing <param name="font"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

backColor
Type: System.DrawingColor

[Missing <param name="backColor"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

foreColor
Type: System.DrawingColor

[Missing <param name="foreColor"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

textStartPos
Type: SystemInt32

[Missing <param name="textStartPos"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

rightToLeft
Type: System.Windows.FormsRightToLeft

[Missing <param name="rightToLeft"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

alignment
Type: System.DrawingStringAlignment

[Missing <param name="alignment"/> documentation for "M:Stimulsoft.Base.Drawing.StiControlPaint.DrawItem(System.Drawing.Graphics,System.Drawing.Rectangle,System.Windows.Forms.DrawItemState,System.String,System.Windows.Forms.ImageList,System.Int32,System.Drawing.Font,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Windows.Forms.RightToLeft,System.Drawing.StringAlignment)"]

See Also