public sealed class DockPanelOne dockable panel: a title, an id, and whatever the application puts in it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A panel is created once and moved thereafter, never rebuilt. That is what UiDocument.Reparent exists for and it is the whole reason docking is hard: a panel torn out of one group and dropped into another has to keep its scroll position, its selection, its focus and whatever the user has half-typed into it. A host that rebuilt the panel would pass every structural test and lose the user's work.
Fields and properties (7)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public string IdWhat identifies it in a saved layout.
public string? Titlepublic bool CanClosepublic static readonly UiPropertyKey TitlePropertyIdentity for Title.
public static readonly UiPropertyKey CanClosePropertyIdentity for CanClose.
Methods (2)
public void ClearTitle()Unsets Title, so it takes its default or its ancestor's value again.
public void ClearCanClose()Unsets CanClose, so it takes its default or its ancestor's value again.
Used by (23)
- ShellHelloUi
- DockingHostVixen.Ui.Controls.Advanced
- DockingTestsVixen.Ui.Controls.Advanced.Tests
- DockingWindowTestsVixen.Ui.Controls.Advanced.Tests
- BuildSettingsTestsVixen.Editor.App.Tests
- ChromeFixtureVixen.Editor.Ui.Tests
- DiagnosticsModuleVixen.Editor.Diagnostics
- DiagnosticsPanelTestsVixen.Editor.App.Tests
- DockingWorkspaceVixen.Editor.Ui
- DropIntoSceneTestsVixen.Editor.App.Tests
- EditorAffordanceTestsVixen.Editor.App.Tests
- EditorApplicationVixen.Editor.App
- EditorModeTestsVixen.Editor.App.Tests
- EditorSessionVixen.Editor.Testing
- EditorShellVixen.Editor.Ui
- GridViewTestsVixen.Editor.App.Tests
- MilestoneE3TestsVixen.Editor.App.Tests
- PanelBehaviourTestsVixen.Editor.App.Tests
- PanelDescriptorVixen.Editor.Ui
- PluginContextVixen.Editor.Plugin
- ScriptsModuleVixen.Editor.Scripts
- SelectionTestsVixen.Editor.App.Tests
- TerrainModuleVixen.Editor.Terrain