TextImageRelation of TabItem

2 posts, 0 answers
  1. Daniele Dalla Valle
    Daniele Dalla Valle avatar
    1 posts
    Member since:
    Mar 2010

    Posted 08 Apr 2010 Link to this post


    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
  2. Nikolay
    Nikolay avatar
    1802 posts

    Posted 14 Apr 2010 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top