Workaround: void radDock1_DockWindowAdded(object sender, DockWindowEventArgs e) { DocumentWindow docWin = e.DockWindow as DocumentWindow; if (docWin != null && docWin.Text.Contains(Environment.NewLine)) { docWin.TabStripItem.Padding = new Padding(25, 2, 3, 2); } }
DECLINED: having a multiline text inside the tab items is rather a custom scenario and their shape and/or padding should also be edited in this case. To achieve this, either use the DockWindowAdded event or the RadDockEvents.TabStripItemCreating static event (available as of Q1 2015) to modify the tab items.