Changing elements' colors with Visual Style Builder

6 posts, 0 answers
  1. fedor
    fedor avatar
    2 posts
    Member since:
    Oct 2006

    Posted 25 Oct 2006 Link to this post

    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?
  2. Chris
    Admin
    Chris avatar
    221 posts

    Posted 25 Oct 2006 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Bryan Brannon
    Bryan Brannon avatar
    65 posts
    Member since:
    Aug 2012

    Posted 04 Jan 2007 Link to this post

    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?
  5. Chris
    Admin
    Chris avatar
    221 posts

    Posted 04 Jan 2007 Link to this post

    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
  6. Bryan Brannon
    Bryan Brannon avatar
    65 posts
    Member since:
    Aug 2012

    Posted 08 Jan 2007 Link to this post

    That works well, thanks!
  7. jezzicaz789 jezzicaz789
    jezzicaz789 jezzicaz789 avatar
    1 posts
    Member since:
    Jan 2010

    Posted 23 Jan 2010 Link to this post


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

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

Back to Top
UI for WinForms is Visual Studio 2017 Ready