Header Content

2 posts, 0 answers
  1. Celeste
    Celeste avatar
    34 posts
    Member since:
    May 2009

    Posted 22 Jul 2009 Link to this post

    I have an expander and I want to have the header like this:
            <telerik:RadExpander ExpandDirection="Down" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">  
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">  
                                <ColumnDefinition Width="*"/>  
                                <ColumnDefinition Width="*"/>  
                                <ColumnDefinition Width="*"/>  
                            <TextBlock x:Name="Origenes_Txb" Text="Orígenes" FontWeight="Bold" Grid.Column="0" Grid.ColumnSpan="2"/>  
                            <ComboBox Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>  
    The problem is that the combobox appears stucked to the textblock. I have defined three columns, and I would like combobox appears in the third column with a space.
  2. Dimitrina
    Dimitrina avatar
    442 posts

    Posted 23 Jul 2009 Link to this post

    Hi Celeste,

    In order to have space between the  "Combobox " and the TextBlock you have to set margins of either the combobox or TextBlock.
    You  can see the attached file with a example.

    Please let us know if you need  more help on this


    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top