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

TextImageRelation of TabItem

1 Answer 75 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniele Dalla Valle
Top achievements
Rank 1
Daniele Dalla Valle asked on 08 Apr 2010, 11:47 AM
Hello,

I have a problem with the properties TextImageRelation.
I'm using VisualStudio 2005 and the latest version of TabStrip.
I have a TabStrip with TabsPosition set to Top, and in the only TabItem I have an image and a text. If I change the TextImageRelation in a value different from ImageBeforeText (default) it will not be saved in the designer and if I close and reopen the form I will find the properties resetted to its original value ImageBeforeText.

This problem occour also when I change the TabsPosition to Left (this is the layout I need) but the default value of the TextImageRelation is TextBeforeImage and I cannot change it for the same reason.

I have the same problem with the properties AngleTrasform of the ImagePrimitive of the TabItem, cause when TabsPosition is set to left the icon appear flipped horizzontally

Probably I could solve all the problem by code, but I prefer a solution in the designer

Thanks a lot

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 14 Apr 2010, 09:42 AM
Hi Daniele Dalla Valle,

Thank you for contacting us.

I was able to reproduce the reported issues and they will be addressed in one of our next versions. For the time being, however, there is no workaround that will allow you to set the desired properties at design-time. The code snippet below demonstrates how to set the properties programmatically:
this.tabItem1.TextImageRelation = TextImageRelation.TextBeforeImage;
this.tabItem1.Children[2].Children[1].AngleTransform = 0;

Your Telerik points have been updated for the report. Let me know if you have other questions.

All the best,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Daniele Dalla Valle
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or