BrightIdeasSoftware.BaseRenderer.DrawImageAndText C# (CSharp) Метод

DrawImageAndText() защищенный Метод

Draw our subitems image and text
protected DrawImageAndText ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics Graphics context to use for drawing
r System.Drawing.Rectangle Bounds of the cell
Результат void
        protected virtual void DrawImageAndText(Graphics g, Rectangle r)
        {
            int offset = 0;
            if (this.ListView.CheckBoxes && this.ColumnIsPrimary) {
                offset = this.DrawCheckBox(g, r);
                r.X += offset;
                r.Width -= offset;
            }

            offset = this.DrawImage(g, r, this.GetImageSelector());
            r.X += offset;
            r.Width -= offset;

            this.DrawText(g, r, this.GetText());
        }