-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIDockingWindowService.cs
41 lines (35 loc) · 1.2 KB
/
IDockingWindowService.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
namespace HAF {
public interface IDockingWindowService : IWindowService {
/// <summary>
/// Docking control of the window.
/// </summary>
object Docking { get; set; }
/// <summary>
/// Serialize the current window layout.
/// </summary>
/// <returns>Serialized window layout.</returns>
string GetWindowLayout();
/// <summary>
/// Load window layout.
/// </summary>
/// <param name="layout">Serialized window layout.</param>
/// <param name="clearDocumentHost">Clear all panes in the document host.</param>
void SetWindowLayout(string layout, bool clearDocumentHost);
/// <summary>
/// Show pane if it exists.
/// </summary>
void ShowPane(string name);
/// <summary>
/// Move pane to the active pane group if it exists.
/// </summary>
/// <param name="name"></param>
void MovePane(string name);
/// <summary>
/// Show pane and create it if it does not exist.
/// </summary>
/// <param name="viewType">Type of the view hosted by the pane.</param>
/// <param name="canUserClose">Can the user close the pane.</param>
void ShowPane(string name, Type viewType, bool canUserClose);
}
}