Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Tools - VSB, Control Spy, Shape Editor > Changing elements' colors with Visual Style Builder

Changing elements' colors with Visual Style Builder

Feed from this thread
  • Posted on Oct 25, 2006 (permalink)

    I want to say that you've done a great job and your controls look amazing. Now I'm trying to change one of the RibbonBar themes with your Visual Style Builder and I'm a little bit confused.
    I have a hierarchy of Chunk - ElementWithCaptionLayoutPanel - FillPrimitive. If I want to change the BackColor of the chunk item which BackColor property I have to change? The BackColor of the Chunk, the BackColor of the ElementWithCaptionLayoutPanel or the BackColor of the FillPrimitive?

    Reply

  • Chris Chris admin's avatar

    Posted on Oct 25, 2006 (permalink)

    Hello Fedor,
    First, thank you for evaluating r.a.d.controls for WinForms.
    Each element/item which you see as part of the control hierarchy (Chunk - ElementWithCaptionLayoutPanel - FillPrimitive - etc.) inherits from VisualElement and that's why all these elements/items have common properties. On the other hand the only elements which are painted on the screen are the primitives. That's why if you change the BackColor of the Chunk this will have effect only if the FillPrimitive inherits the BackColor property value from its parent.
    Let's say that you would like all items which are placed inside the chunk painted with red BackColor. You go to the Chunk item and set its BackColor property to Red. Whenever you would like some specific child item painted with different BackColor (for example blue) you go to this particular item (or primitive) and set its BackColor to blue. This will break the inheritance and this item won't get its BackColor property value (red) from its parent. Also its child items will start inherit the blue BackColor property value from this item.
    I hope this information helps you understand better how our property mechanism works.

    Regards,
    Chris
    the telerik team

    Reply

  • Bryan Brannon avatar

    Posted on Jan 4, 2007 (permalink)

    I am a current subscriber to your Client.net.  Can I download your VisualStyleBuilder for some design artist on my team to be able to generate the style and send me the XML file.  I do not want to allow them to have to install the entire controls plus we only have a limited number of developers licenses.

    I understand you can download the eval copy but you have to install all the controls.  I would like her to just be able to install the VSB if possible.  If not, can this be in the future?

    Reply

  • Chris Chris admin's avatar

    Posted on Jan 4, 2007 (permalink)

    Hello Bryan,
    Currently we do not offer the VisualStyleBuilder application as a separate file to download but you can feel free to download and install r.a.d.controls for WinForms and then you can send only the VSB application to your design artist.
    It's very easy to get all the required files as they are all placed in the "bin" subfolder under the folder in which you have installed the WinForms controls (e.g. "C:\Program Files\telerik\r.a.d.controls for WinForms Q4 2006\bin").
    Just zip the following files:

    VisualStyleBuilder.exe
    VisualStyleBuilder.Design.dll
    Telerik.WinControls.dll
    Telerik.WinControls.UI.dll
    Telerik.WinControls.Docking.dll
    TelerikCommon.dll
    RadControlSpy.dll

    and send them to your design artist.

    Greetings,
    Chris
    the telerik team

    Reply

  • Bryan Brannon avatar

    Posted on Jan 8, 2007 (permalink)

    That works well, thanks!

    Reply

  • jezzicaz789 jezzicaz789 avatar

    Posted on Jan 23, 2010 (permalink)


    Hi l!
    I've just visited this forum. Happy to get acquainted with you. Thanks.

    __________________
    <admin>LINK REMOVED - against Forum policies</admin>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Tools - VSB, Control Spy, Shape Editor > Changing elements' colors with Visual Style Builder
Related resources for "Changing elements' colors with Visual Style Builder"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]