v
Not logged inv
SearchAsk a QuestionReport an IssueMake a SuggestionMy Questions and Issues
Issue Details
Find By ID

Utilize Skin Painters for custom controls

Issue Details

Log in to Track Changes or Edit
CQ40491
Question
Thomas Tillig
Yes
Processed
Answered
.NET
.NET Windows Forms Component Collection
7.1
n/a
Microsoft Visual Studio 2005
3/23/2007 11:13:57 PM
-> Created by Thomas Tillig 3/23/2007 7:34:03 AM

Hi,

I'd like to create a button (derived from a Windows Forms Button or a SimpleButton) that has the style of the Skin's GalleryButton or LargeButton. I know how to create buttons, but I haven't yet found a way to utilize the Skin's painters to do the actual painting. I only need to draw the background (normal, pressed etc.), not the text or any images on it.

Can you provide me with some lines of code giving me a hint to do that?
Thanks very much in advance.

Stefan

-> Updated by Thomas Tillig 3/23/2007 7:34:57 AM

Don't know why the name of my boss appears here. Maybe because he has ordered the product.
Stefan

<- Reviewed by DevExpress Team 3/23/2007 9:09:58 PM
<- Processed (Answered) by DevExpress Team 3/23/2007 11:13:54 PM

Attachment: SkinElementPainter.zip (11904 bytes)

Hi Stefan,

I have attached an example project illustrating usage of the SkinElementPainter in a custom control.
Please let us know if this makes sense.

Thanks,
Michael.

Log in to Track Changes or Edit
v
v
Search
Searching Tips