This question is locked. New answers and comments are not allowed.
Hi i have a radgridview, i want it to always take up the available space, regardless of how many rows appear, the problem i get at the moment is that there is still some space at the end. This is what my code looks like so far;
<
Grid
x:Name
=
"LayoutRoot"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"80"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
Grid
Margin
=
"0,100,0,3"
Grid.Row
=
"1"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"30"
/>
<
RowDefinition
Height
=
"1*"
/>
<
RowDefinition
Height
=
".05*"
/>
</
Grid.RowDefinitions
>
<
Border
Height
=
"30"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"Member Details"
Margin
=
"5 0 20 5"
Width
=
"230"
Foreground
=
"Black"
FontSize
=
"14"
Opacity
=
"1"
FontWeight
=
"Black"
FontStretch
=
"ExtraCondensed"
></
TextBlock
>
</
StackPanel
>
</
Border
>
<
Telerik:RadGridView
Name
=
"_grid"
Grid.Row
=
"1"
ItemsSource
=
"{Binding PagedSource, ElementName=_radDataPager,Mode=TwoWay}"
> <
Telerik:RadGridView.Columns
>
<
Telerik:GridViewDataColumn
Header
=
"Member Name"
TextWrapping
=
"Wrap"
DataMemberBinding
=
"{Binding Member_Name}"
Width
=
"2*"
/>
</
Telerik:RadGridView.Columns
>
</
Telerik:RadGridView
>
<
Telerik:RadDataPager
x:Name
=
"_radDataPager"
PageSize
=
"10"
Grid.Row
=
"2"
DisplayMode
=
"All"
IsTotalItemCountFixed
=
"True"
Source
=
"{Binding BindsDirectlyToSource=True, Mode=TwoWay, Path=STAMemberDetailsReportViewDTOs, Source={StaticResource vm}, TargetNullValue=''}"
/>
</
Grid
>
</
Grid
>