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

What's the purpose of "Title" in the pane?

3 Answers 70 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 02 Apr 2009, 05:52 PM
What do I use Title for?
Thanks!

3 Answers, 1 is accepted

Sort by
0
Ben Hayat
Top achievements
Rank 2
answered on 02 Apr 2009, 07:03 PM
Well, the reason the title wasn't clear to me, is because what I had done to sort of disguise it's appearance. After more investigation, I also found the answer but perhaps a bug or by design, a side effect.

On the group setting, if you set your tabs to be placed at the "Top" you will not be able to:
a) See your title
b) see your Pin, close and drop down button.

By changing the tab position to bottom, they all show up and title makes sense!
..Ben
0
Miroslav
Telerik team
answered on 04 Apr 2009, 10:08 AM
Hello Ben,

The Title property (+TitleTemplate and TitleTemplateSelector) are very similar to the Header properties. You can notice the difference in Visual Studio: You have the solution explorer and its header is in the TabItem, it says "Solution Explorer", it also has an icon. The title on the other hand is in the top part and it says "Solution Explorer - <Solution Name Here>". So the title is a descriptive string and the header is meant for the TabItem.

Also, the Title property is of type String, because it is often visible at more than one place and we wanted to make sure that no visual objects are placed there. If you do not specify a title it will fall back to the Header (only if it is a string).

As for the RadPaneGroup - yes, it has different TabStripPlacements because it inherits from the RadTabControl, but we initially thought that it will be used almost exclusively with Bottom placement and in the other positions it does not look like a RadPaneGroup but like a RadTabControl. Kind of lookless :).

We can add suitable templates for the other placements, but this has lower priority compared with the other features we are working on. Of course, just tell us if you need them.

Regards,
Miroslav
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Ben Hayat
Top achievements
Rank 2
answered on 04 Apr 2009, 02:59 PM
Hi Miroslav;

We can add suitable templates for the other placements, but this has lower priority compared with the other features we are working on. Of course, just tell us if you need them.

Thanks, but once that became clear what I had done wrong, then it became easier to change my route!


Tags
Docking
Asked by
Ben Hayat
Top achievements
Rank 2
Answers by
Ben Hayat
Top achievements
Rank 2
Miroslav
Telerik team
Share this question
or