In order to set TextAlignment property when a ToolWindow is floating I can suggest handling the FloatingWindowCreated event set the following properties as shown below:
private void RadDock1_FloatingWindowCreated(object sender, FloatingWindowEventArgs e)
e.Window.FormElement.TitleBar.TitlePrimitive.StretchHorizontally = true;
e.Window.FormElement.TitleBar.TitlePrimitive.TextAlignment = ContentAlignment.MiddleCenter;
I hope this helps. Should you have other questions do not hesitate to ask.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.