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

Header Content

1 Answer 64 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Celeste
Top achievements
Rank 1
Celeste asked on 22 Jul 2009, 01:51 PM
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.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 23 Jul 2009, 01:40 PM

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.
Tags
Expander
Asked by
Celeste
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or