When you say "inherited textbox" - Are you referring to the Datagrid column with percentage progress bar? That source code is included in the /ColumnStyles folder - the DataGridProgressBarColumn.vb file. As you'll notice the Paint() is being overridden and the GDI+ Graphics object is being used to draw a rectangle and fill it appropriately.
Hope this helps! |