Message 1 of 2
Hiding the title bar of DockableWindow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to hide the title bar of DockableWindow, but this line has no visible effect.
DockableWindow.ShowTitleBar = false;
This is how I instantiate the DockableWindow.
_buttonDefinition = _inventorApplication.CommandManager.ControlDefinitions.AddButtonDefinition
(
DisplayName: "My command",
InternalName: "MyCommand.InternalName",
Classification: CommandTypesEnum.kShapeEditCmdType,
ClientId: _clientId
);
_buttonDefinition.AutoAddToGUI();
_buttonDefinition.OnExecute += ButtonDefinitionOnExecute;
_dockableWindow = _inventorApplication.UserInterfaceManager.DockableWindows.Add
(
ClientId: _clientId,
InternalName: "MyDockableWindow.InternalName",
Title: "My Dockable Window"
);
_dockableWindow.ShowTitleBar = false;
Is there any way to hide or remove the title bar?
Thanks
Lukas