RadDockWorkspace BackgroundImage not working

2 posts, 0 answers
  1. JF
    JF avatar
    1 posts
    Member since:
    Feb 2013

    Posted 07 Aug 2013 Link to this post

    Hi, I'm using the Telerik RadDockWorkspace of the CAB Enabling Kit in a CAP project, and when I try to use the BackgroundImage property of the Workspace, it doesn't work. Nothing happens, I still see the default gradient blue background of the Workspace.

    Here is my code :

    Telerik.WinControls.CompositeUI.RadDockWorkspace appWorkSpace = WorkItem.Workspaces.AddNew<Telerik.WinControls.CompositeUI.RadDockWorkspace>("myworkspace");

     


    appWorkSpace.Dock = DockStyle.Fill;

    appWorkSpace.DocumentTabsAlignment = Telerik.WinControls.UI.TabStripAlignment.Top;

    appWorkSpace.DocumentManager.BoldActiveDocument = true;

    appWorkSpace.DocumentManager.DocumentInsertOrder = Telerik.WinControls.UI.Docking.DockWindowInsertOrder.ToBack;

    appWorkSpace.ShowDocumentCloseButton = true;

     


    appWorkSpace.BackgroundImage = myImage; // whatever the image


    Any ideas why it isn't working ?? I used to use a Workspace built with the Weifenluo dll and the BackgroundImage property worked properly with that workspace.

    Any help would be appreciated !!

    jjeffrroyy

  2. Anton
    Admin
    Anton avatar
    167 posts

    Posted 12 Aug 2013 Link to this post

    Hello JF,

    Thank you for writing. 

    The BackgroundImage property in RadDock is inherited from System.Windows.Forms.Control and currently it does not affect our RadDock. We consider that this feature will be useful for our clients and we decided to add it as feature request in our Public Issue Tracking System, so the community can vote for it. You can track its status and vote for it here: http://www.telerik.com/support/pits.aspx#/public/winforms/15544

    I have update your Telerik Points for this request.

    Let me know if you have additional questions.

    Regards,
    Anton
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top