Direction for expander arrow is incorrect

4 posts, 0 answers
  1. Xaria D
    Xaria D avatar
    68 posts
    Member since:
    May 2010

    Posted 10 Aug 2010 Link to this post

    I feel the arrow for expander and panel bars  points wrongly, it should behave opposite to how it is now.
    How to modify  the arrow?
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 13 Aug 2010 Link to this post

    Hi Xaria D,

    You can set the DecoratorTemplate property to any ControlTemplate for a ContentControl:

    <Grid.Resources>
        <ControlTemplate TargetType="ContentControl" x:Key="decorator">
            <Rectangle Fill="Red" Width="10" Height="10" />
        </ControlTemplate>
    </Grid.Resources>
      
    <telerik:RadExpander DecoratorTemplate="{StaticResource decorator}" >
        <Button Content="Some Content" />
    </telerik:RadExpander>


    Greetings,
    Miroslav
    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. UI for WPF is Visual Studio 2017 Ready
  4. Xaria D
    Xaria D avatar
    68 posts
    Member since:
    May 2010

    Posted 15 Aug 2010 Link to this post

    I am using  Q3 2009 and I get "The property DecoratorTemplate was not found in type RadExpander"
  5. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 17 Aug 2010 Link to this post

    Hi Xaria D,

    Indeed this property was added in a later release. If it is not an option for you to upgrade, I can suggest editing the RadExpander's ControlTemplate.

    In Q3 2009's release the arrow can be changed from there (you can look for the ToggleButton in the RadExpander's template).

    Kind regards,
    Miroslav
    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
Back to Top