This is a migrated thread and some comments may be shown as answers.

RadControl RTL questiones

4 Answers 63 Views
Dock
This is a migrated thread and some comments may be shown as answers.
eliraz
Top achievements
Rank 1
eliraz asked on 04 Jan 2011, 10:34 AM
Hi, I am new to the "RadDock" control and trying to test it before we put it in our App.
there is some thing that I Test and I dont know if they could be done.

1.We miss a feature in the RedDock control to have a different text between the tab and the "ToolWindow" caption 

2.The RedDock not full support RTL, because the X(close) keep staying in the right side even though I marked all as RTL(but many I didn't do it right)

3.I miss a feature to control the location of the Caption alignment in the "Tool Window"(I want it to be to the right because my App is RTL).

4.The Quick navigator also don’t change by RTL.

5.Is the Quick navigator a Control by itself by any chance? Because I cant find it and would like to use it.

4 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 04 Jan 2011, 11:30 AM
Hello,

I'll do my best to answer as many of your questions as I can.
1: Please can you clarify "different text between the tab and the "ToolWindow""
2 / 3: As far as I know, this area of RTL support is not fully implemented (though I may be wrong). However, you can change the following

A: You could take away the ToolWindow caption and then set the StretchHorizontally property to false of the DockLayoutPanel which will put the close buttons on the opposite side
CType(Me.ToolTabStrip1.CaptionElement.Children(2), DockLayoutPanel).StretchHorizontally = False
Me.ToolWindow1.Text = ""

Or, just to align the text to the right, but keep the close buttons on the right
CType(Me.ToolTabStrip1.CaptionElement.Children(2).Children(3), TextPrimitive).TextAlignment = ContentAlignment.MiddleRight

4/5: Have a look at this forum post which will tell you a little more about Quick Navigator and the documentation for it is here

hope this helps, but if you have any questions let me know
Richard
0
eliraz
Top achievements
Rank 1
answered on 04 Jan 2011, 01:00 PM
clarification : 
the tool-window have a caption, and if we have 2 Tabed tool-windows they will have a Text in the bottom where the tabs are.
what i want to do, is have a different text in the tool-window caption and the bottom tab text.
0
Richard Slade
Top achievements
Rank 2
answered on 04 Jan 2011, 01:28 PM
Hello,

Please can you include a screenshot showing what you would like to change as I'm afraid I don't understand your requirement.
Thanks
Richard
0
Ivan Todorov
Telerik team
answered on 06 Jan 2011, 04:54 PM
Hi eliraz,

Thank you for your questions.

In regards to your first question: as far as I understand you would like to have different caption text for tool windows in different dock states. If so, then you could subscribe to the DockStateChanged event and change the text to whatever you like. Here is a short code snippet that demonstrates this:
private void radDock1_DockStateChanged(object sender, DockWindowEventArgs e)
{
    if (e.DockWindow == toolWindow3 && e.DockWindow.DockState == DockState.TabbedDocument)
    {
        toolWindow3.Text = "tabbed toolWindow3";
    }
}

In regards to the RTL questions: implementing full support of localization and Right-to-left languages and layouts is in the roadmap for Q1 2011 so these new features will be released soon.  Until then you can use Richard's suggestions as a workaround.

In regards to your 5th question: the quick navigator is a control, but it is tightly related to the RadDock control and it could be really difficult to reuse it. Please provides us with more details about the scenario in which you are willing to use the QuickNavigator so we could provide a more detailed answer.

I hope this was helpful. Do not hesitate to write back if you have any further questions.

Greetings,
Ivan Todorov
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
Dock
Asked by
eliraz
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
eliraz
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or