RadDock - Increase docking bar size for touch screen.

4 posts, 0 answers
  1. Nigel
    Nigel avatar
    6 posts
    Member since:
    Oct 2007

    Posted 20 Oct 2008 Link to this post

    Hi,

    After a windows docking panel has been docked and a bar has appeared which enables someone to slide the panel back out, it's actually too small for touch screens.  Is there any way I can increase the size of this?

    I have my slide bar for a docked panel on the left of the screen but it's too small for a touch screen.  I need a wider bar to allow for fat fingers.  There doesn't appear to be a property to change this.  If this is the case then I may include my own strip with buttons that activate the docking panel behind but this seems a bit cumbersome.

    Thanks
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 23 Oct 2008 Link to this post

    Hi Nigel,

    You can change the size of the Caption Bar of the DockPanels using the Visual Style Builder, and define new Themes for the DockingManager (Dock/DocumentPresenterControl) from there.

    Another solution is to change padding of CaptionLayout element:

    CaptionLayout element = (CaptionLayout)(dockPanel1.DefaultPresenter as DockPresenterControl).DockPresenterElement.Children[2].Children[0].Children[2]; 
    element.Padding = new Padding(0, 5, 0, 5); 


    Greetings,
    Julian Benkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Nigel
    Nigel avatar
    6 posts
    Member since:
    Oct 2007

    Posted 23 Oct 2008 Link to this post

    This didn’t really answer my question.  Sorry, if I was unclear but I wasn’t referring to the caption of the docking panel but the autohide panel. – How do you change this?

  5. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 24 Oct 2008 Link to this post

    Hello Nigel,

    Current edition of the RadDock component does not offer public API for accessing the AutoHidePanel. For our upcoming Q3 release, planned for next month we will make the AutoHidePanel property of DockingManager public, and you can access and change its properties and behavior.

    Sorry for the inconvenience and thank you for the feedback.

    Sincerely yours,
    Julian Benkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top