<UserControl ...><telerik:RadPanelBar> <telerik:RadPanelBarItem Header="Hello" IsExpanded="True"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="70"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="70"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <sdk:Label Grid.Column="0" Content="Label1" /> <TextBox Grid.Column="1" Text="foo" BorderThickness="1" BorderBrush="Black" Height="20" /> <sdk:Label Grid.Column="2" Content="Label2" /> <TextBox Grid.Column="3" Text="foo" BorderThickness="1" BorderBrush="Black" Height="20" /> </Grid> </telerik:RadPanelBarItem></telerik:RadPanelBar>
In a RadPanelBar my textboxes will resize according to the text I put into them.
If I write "fooooooooooooooooooooooooooooooooooooooooooooooo" the text box will resize (same if I set a ColumnDefinition = "auto" instead of "*").
I don't want this and can't find out how change RadPanelBar template (or something) to remove this auto-resizing behavior.
Thank you!