docking

How to set backcolor for docking windows at runtime?

淺唱寂寞╮ 提交于 2019-12-12 03:47:50
问题 I created a Docking windows program in csharp i want to change the color of that tabs after exe is getting executed.because those tabs will be added at run time.i can able to change the TabText but i cant able to set the values dockContainer1.ActiveDocument.DockHandler.TabText = "Welcome" |Tab1|Welcome|Tab3| | | | | | | | | |_____________________| I want to change the Background color at runtime...how to do it .. ? 回答1: a little confused, but do you mean something like.. yourTab.BackColor =

How do I dock a UserControl into a FlowLayoutPanel?

北慕城南 提交于 2019-12-11 08:29:47
问题 I have a FlowLayoutPanel and a UserControl. I've added multiple usercontrols into the FlowLayoutPanel , and I'm trying to dock them to the top, so when I change the size of the FlowLayoutPanel the size (width) of the usercontrols changes accordingly. 回答1: You cannot dock anything inside a FlowLayoutPanel, it's simply ignored. Check out the answer here apparently posted by the Microsoft team. They say: The FlowLayoutPanel relies on a largest control to effectively define the column/row within

Libraries for Dockable GUI Development in C

柔情痞子 提交于 2019-12-11 08:19:58
问题 What are some of the best known Dockable GUI developments, with a C API? I know about wxWidgets (wxAUI), but there doesn't seem to be a C API for that, and I also know about GTK+, which I've heard is a bit of a pain when talking about cross-platform and it doesn't seem to come with docking features. Do such libraries even exist, and what are their pros and cons? 回答1: The docking library for GTK is GDL. It's not so surprising that most GUI libraries wouldn't come with docking features. Docking

Top-docking controls more than 32768 pixels

微笑、不失礼 提交于 2019-12-11 03:44:23
问题 I have a WinForms application that allows you to edit documents. Each document is made of chapters and each chapter holds a collection of RTF blocks. The RTF blocks are loaded in a PanelControl using Dock = DockStyle.Top . The problem is that when the total height of a chapter gets too large (estimating > 32768 pixels) the lower blocks are not properly docked: they appear behind one another. When trying to isolate the problem I noticed that this also happens with simpler controls like a

Adding/Docking controls in UserControl C# .NET

笑着哭i 提交于 2019-12-11 02:32:31
问题 I am writing a UserControl which adds child controls programmatically. Currently I am adding new controls like so: this.Controls.Add(new Control() { Height = 16, Dock = DockStyle.Top }); The problem I am experiencing is that new controls are added above the existing controls, so where I want the controls to be ordered 1, 2, 3, 4, 5, 6 from top to bottom, it's ordering them as 6, 5, 4, 3, 2, 1 from top to bottom. I want to know how I ensure a new control is added after all existing controls

Automatic content resizing of JLayeredPane

我怕爱的太早我们不能终老 提交于 2019-12-11 01:28:00
问题 I'm trying to create an app with a JLayeredPane that scales automatically with the size of the parent JFrame (this is the easy part using BorderLayout as layout manager on the frame's content pane). The hard part is the fact that I want the content of the JLayeredPane to automatically resize with the JLayeredPane (and thus the JFrame too). In fact the functionality I want to achieve is a lot like the dockable console in Netbeans, that just like comes "on top" of the editor when clicked, and

Variable height FlowLayoutPanel with right anchored static panel

怎甘沉沦 提交于 2019-12-10 23:42:14
问题 Take a good look at this I've got a Top Panel which is docked to the Top of my form ( AutoSize == True , AutoSizeMode == GrowOnly ). Inside of that I have a FlowLayoutPanel docked to Fill ( AutoSize == True , AutoSizeMode == GrowOnly ), and a plain Static Panel docked to the Right ( AutoSize == False ). The Static Panel has a fixed width, but its height can be stretched. The FlowLayoutPanel contains a number of child elements that align to the right. I want it so when the user resizes the

WPF - AvalonDock - Closing Document

可紊 提交于 2019-12-10 15:31:44
问题 I use AvalonDock with MVVM in a WPF project. When I hit the "X" (Close button of the tab) my document closes but stays in memory. It seems that it is only hidden. It is not removed from my Model.Documents collection. If I add DockingManager_DocumentClosing and try to remove my document from the collection, I receive an Exception in the following method of Xceed.Wpf.AvalonDock.Layout.LayoutContent because parentAsContainer is null. /// <summary> /// Close the content /// </summary> ///

Silverlight: Docking of controls

 ̄綄美尐妖づ 提交于 2019-12-08 05:28:18
问题 Is it possible to dock Silverlight based controls like Windows Forms control ? For example I want to use a tab control, which I want to use as a control for page navigation ! Unfortunately I don't find a "Dock" property :-( ! 回答1: The Silverlight Toolkit found on Codeplex contains a DockPanel control, you will want to use that. 回答2: I am not sure that i understand your question, but you can consider using one of the various WPF layout techniques. Example: <DockPanel LastChildFill="False">

does anyone know of good delphi docking components?

社会主义新天地 提交于 2019-12-07 01:40:25
问题 we'd like to add movable panels to an application. presently we've used DevExpress docking library but have found them to be disappointingly quirky & difficult to work with. it also has some limitations that aren't so great. auto-hide, pinning, and moving of pages by drag-and-drop are all features we'd like to use. the built-in delphi docking doesn't seem to be full-featured enough to do the things we need (also see sample below). perhaps i should dig deeper into delphi's docking abilities..