How can I get a close button in the tabs for document windows in RadDock? Similar to how Firefox has implemented them. I was able to do it in RadPageView by doing something like the following, just not sure where it goes in the tree for a DocumentWindow.
RadButtonElement radB = new RadButtonElement();radB.MaxSize = new Size(15, 15);radB.Click += new EventHandler(control.CloseTabButtonClicked);radB.Font = new System.Drawing.Font("Verdana", 7, FontStyle.Regular, GraphicsUnit.Point, ((Byte)0));radB.Text = "X";radB.TextElement.Location = new Point(1, 0);radB.Margin = new Padding(0);radB.TextAlignment = ContentAlignment.TopLeft;radB.Alignment = ContentAlignment.MiddleRight;tabItem.Children[2].Margin = new Padding(0, 0, 20, 0);tabItem.Children.Add(radB));