Header Content

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

    Posted 22 Jul 2009 Link to this post

    Hi!
    I have an expander and I want to have the header like this:
            <telerik:RadExpander ExpandDirection="Down" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">  
                <telerik:RadExpander.Header>                  
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">  
                            <Grid.ColumnDefinitions> 
                                <ColumnDefinition Width="*"/>  
                                <ColumnDefinition Width="*"/>  
                                <ColumnDefinition Width="*"/>  
                            </Grid.ColumnDefinitions> 
                            <TextBlock x:Name="Origenes_Txb" Text="Orígenes" FontWeight="Bold" Grid.Column="0" Grid.ColumnSpan="2"/>  
                            <ComboBox Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>  
                        </Grid>                  
                </telerik:RadExpander.Header> 
            </telerik:RadExpander> 
     
    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
    Admin
    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

    Regards,

    Dimitrina
    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.
  3. DevCraft banner
Back to Top