Auto hide ToolWindow

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    423 posts
    Member since:
    Jun 2009

    Posted 15 Jan 2015 Link to this post

    I'm adding a Toolwindow witha aRadlistview inside to a dockmanager, I wish that at load the toolwindow is as the screen I've attached

    the code that creates the grid is 

    private void AttachMessageListView(string name)
          logListView = new RadListView();
          logListView.Dock = DockStyle.Fill;
          logListView.ViewType = ListViewType.DetailsView;
          ToolWindow treeWindow = new ToolWindow();
          treeWindow.Text = name;
          //radDock1.DockWindow(treeWindow, DockPosition.Bottom);
          radDock1.DockControl(treeWindow, DockPosition.Bottom);
  2. Ralitsa
    Ralitsa avatar
    175 posts

    Posted 16 Jan 2015 Link to this post

    Hi Paolo,

    Thank you for contacting us. 

    You can call the AutoHide method or change the DockState property to AutoHideHere is the code snippet: 
    ToolWindow treeWindow = new ToolWindow();
    treeWindow.Text = name;       
    radDock1.DockWindow(treeWindow, DockPosition.Bottom);
    treeWindow.DockState = DockState.AutoHide;

    You can refer to the RadDock Properties and Methods and ToolWindow and DocumentWindow Properties and Methods articles for more information which properties and methods you can use in your application. 
    Hope this will help you. Let me know if you have any another questions.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top