This question is locked. New answers and comments are not allowed.
I have the following XAML:
That is; one star (*) column and the rest are set to auto. See attached screenshot for output.
Why is the last column truncated? If I resize the usercontrol (it's contained within a radwindow) the gridview "snaps" the last column into place (it becomes full-sized)
<telerik:RadGridView x:Name="RadGrid1" Grid.Row="1" IsReadOnly="True" SelectionChanged="RadGrid1_SelectionChanged" RowDetailsVisibilityMode="VisibleWhenSelected" IsSynchronizedWithCurrentItem="True" FontFamily="Arial" FontSize="14" AutoGenerateColumns="False" IsFilteringAllowed="False" SelectionMode="Single" ShowGroupPanel="False" CanUserReorderColumns="False" CanUserFreezeColumns="False" Margin="1"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding name}" Width="*"> <telerik:GridViewDataColumn.Header> <TextBlock Text="{Binding LocStr.Name, Source={StaticResource LocStr}}" Style="{StaticResource TextBlockNormal}"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding Converter={StaticResource SurveyStatus}, Path=status}" Width="Auto"> <telerik:GridViewDataColumn.Header> <TextBlock Text="{Binding LocStr.Status, Source={StaticResource LocStr}}" Style="{StaticResource TextBlockNormal}"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding start_date, StringFormat=\{0:d\}}" Width="Auto"> <telerik:GridViewDataColumn.Header> <TextBlock Text="{Binding LocStr.Start_date, Source={StaticResource LocStr}}" Style="{StaticResource TextBlockNormal}"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding end_date, StringFormat=\{0:d\}}" Width="Auto"> <telerik:GridViewDataColumn.Header> <TextBlock Text="{Binding LocStr.End_date, Source={StaticResource LocStr}}" Style="{StaticResource TextBlockNormal}"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridView>That is; one star (*) column and the rest are set to auto. See attached screenshot for output.
Why is the last column truncated? If I resize the usercontrol (it's contained within a radwindow) the gridview "snaps" the last column into place (it becomes full-sized)