Q32012 SP1 changes... how to revert appearance?

2 posts, 1 answers
  1. Dan
    Dan avatar
    7 posts
    Member since:
    Jun 2012

    Posted 12 Dec 2012 Link to this post

    Hello, this is a quick post to see if there's a way I can revert back to the pre-SP1 (released yesterday) appearance of the split container control.  (This project needs to go out today and I probably shouldn't have updated without leaving myself more time).  

    According to the release notes:
    • FIXED: Theme settings are applied only to the first SplitterElement.
    • FIXED: The image set for the grip of the splitters is not shown for all splitters.

    I wasn't using a specific theme (default), and the splitter was a blue color (on my system) without a grip (they are fixed panels).  Now it is gray with a grip.

    Given more time, I'm sure I could find the properties, but if you could help, I'd appreciate it!!

    Thanks,
    Dan
  2. Answer
    Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 14 Dec 2012 Link to this post

    Hello Dan,

    Thank you for contacting us.

    In Q3 2012 SP1 we removed the BackColor setting of the SplitterElement, thus leaving the property to inherit the color of the RadSplitContainer's parent. Nevertheless, you can easily override this through setting the BackColor of the SpiltContainerElement. To hide the grips, you will need to iterate through the Splitters collection and collapse the Layout element. Here is a sample snippet:
    this.radSplitContainer1.SplitContainerElement.BackColor = Color.LightBlue;
    foreach (SplitterElement splitter in this.radSplitContainer1.Splitters)
    {
        splitter.Layout.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
    }

    I hope you find my answer helpful. Do not hesitate to write back if you have further queries. I will do my best to assist you.

    Regards,
    Boryana
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top