UIControlled |
public void RegisterDockablePane( DockablePaneId id, string title, IDockablePaneProvider provider )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown if a dockable pane with identifier %id% has already been registered. |
public Result OnStartup(UIControlledApplication application) { // Create our pane provider and register it with the application PaneProvider prov = new PaneProvider(); DockablePaneId id = new DockablePaneId(Guid.NewGuid()); application.RegisterDockablePane(id, "test", prov); return Result.Succeeded; }