in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

How can I change/edit/add themes?

Last post 8/22/2008 5:10 AM by Pavel. 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
Previous Next
  • 8/21/2008 7:01 AM

    How can I change/edit/add themes?

    How can I chnage/edit/add themes for gauge?

    Current themes is not good for us, so we would like to create our own.

    Thanks

  • 8/21/2008 12:04 PM In reply to

    Re: How can I change/edit/add themes?

    You can modify any existing theme in the XtraGauges designer to suit your needs. The designer allows you to customize almost everything except the shapes of the gauge elements. If you are not satisfied with the designer you should send us a request to add a new theme to XtraGauges. Note though that we do not provide custom design and programming services. If we decide to implement the suggestion, it will be made avaliable to all our customers.

     

    Thanks, Roman

    R&D, .NET Team
    Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
  • 8/21/2008 5:31 PM In reply to

    Re: How can I change/edit/add themes?

    So I would like skin like this:

    You don't have skin like this, but this is not the biggest problem. I would like to chnage range bars(red, green, yellow) from source code?
    How can I do that? If I imagine this correctly, I can't change this bars, because they came with background layer? Is that correct?

    Thanks

  • 8/22/2008 5:10 AM In reply to

    • Pavel
    • Top 500 Contributor
    • Joined on 7/5/2007
    • Posts 46

    Re: How can I change/edit/add themes?

    To implement this gauge theme you can paint backgroundimage without scales, needles and set it as GaugeControl.BackgroundImage.

    Regading to static rangebars: there is another trick:

    You need to create two same scales, 

    make  one  of them invisible  and

    set  it  to in the rangebar.Scale property.

    set needle.Scale property to the visibe scale.

    To set gauge value use visible scale value property only, do not handle invisible scale value property.

    As a result you will get static rangebars.

     

    WPF HATER BLOG
    http://wpfhater.blogspot.com/
Page 1 of 1 (4 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED