<p>I'd like to create a module in DNN that, similar to the Announcements control, offers a template that the portal admin can modify for formatting.  I have a control that currently uses a Repeater control with templates.  Is there a way to override the contents of the repeater ItemTemplate, HeaderTemplate, and FooterTemplate properties? </p>

I'm not sure this applies to every case, but thanks to this thread, we quickly hooked into the Paint event programmatically using:
```
```
GroupBox box = new GroupBox();
[...]
box.Paint += delegate(object o, PaintEventArgs p)
{
    p.Graphics.Clear(someColorHere);
};
```
```
Cheers!