Hello support!!
I need to configure TabControl height and Width to adjust with page size, so I set Width="Auto" Height="Auto".
But, inside TabControl, I have GridView...How to resolve perfomance problem in this case, please??? Is there a way???
Thanks!!
<UserControl x:Class="SilverlightControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="600" d:DesignWidth="600" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadTabControl x:Name="RadtcbMail" Margin="10,10,10,10" SelectedIndex="0" Width="Auto" Height="Auto">
<telerik:RadTabItem x:Name="RadtbiInbox" Header="Inbox" >
<telerik:RadGridView Margin="10,10,10,10" x:Name="RadgrdInbox" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
<telerik:RadGridView.Columns>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</telerik:RadTabItem>
</telerik:RadTabControl>
</Grid>
</UserControl>
I need to configure TabControl height and Width to adjust with page size, so I set Width="Auto" Height="Auto".
But, inside TabControl, I have GridView...How to resolve perfomance problem in this case, please??? Is there a way???
Thanks!!
<UserControl x:Class="SilverlightControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="600" d:DesignWidth="600" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadTabControl x:Name="RadtcbMail" Margin="10,10,10,10" SelectedIndex="0" Width="Auto" Height="Auto">
<telerik:RadTabItem x:Name="RadtbiInbox" Header="Inbox" >
<telerik:RadGridView Margin="10,10,10,10" x:Name="RadgrdInbox" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
<telerik:RadGridView.Columns>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</telerik:RadTabItem>
</telerik:RadTabControl>
</Grid>
</UserControl>