Current filter:
          You should refresh the page.
          Not Logged In

          Utilize Skin Painters for custom controls

          0
            • 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

          0

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

          0

          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.

          SkinElementPainter.zip
          You must  log in  or  register  to leave an answer