Hi, I'm HeeJun Lee.
My program is using 'RadTabControl'.
To behaving selection of RadTabItem, program have more memory.
When behaving with only code, memory is not increase.
What should I do??
Below my .XAML code source part.
//------------------------------------------------------------------------------------------------------------------------------
<telerik:RadTabControl VerticalAlignment="Stretch" DisplayMemberPath="Content" ScrollMode="Viewport" SelectedIndex="{Binding TagManager.TabIndex}" IsEnabled="{Binding TagManager.SelectionBusy}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding TagManager.SelectionCommand}"
CommandParameter="{Binding Path=SelectedItem, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTabControl}}}"/>
</i:EventTrigger>
</i:Interaction.Triggers> <telerik:RadTabItem Header="A" Width="80">
<view:StatusView />
</telerik:RadTabItem> <telerik:RadTabItem Header="B" Width="80">
<view:StatusView />
</telerik:RadTabItem> <telerik:RadTabItem Header="C" Width="80">
<view:AnalogView />
</telerik:RadTabItem> <telerik:RadTabItem Header="D" Width="80">
<view:AnalogView />
</telerik:RadTabItem> <telerik:RadTabItem Header="E" Width="80">
<view:AnalogView />
</telerik:RadTabItem> <telerik:RadTabItem Header="F" Width="80">
<view:CountView />
</telerik:RadTabItem> <telerik:RadTabItem Header="G" Width="80">
<view:CountView />
</telerik:RadTabItem> <telerik:RadTabItem Header="H" Width="80">
<view:CountView />
</telerik:RadTabItem>
</telerik:RadTabControl>
//------------------------------------------------------------------------------------------------------------------------------
My program is using 'RadTabControl'.
To behaving selection of RadTabItem, program have more memory.
When behaving with only code, memory is not increase.
What should I do??
Below my .XAML code source part.
//------------------------------------------------------------------------------------------------------------------------------
<telerik:RadTabControl VerticalAlignment="Stretch" DisplayMemberPath="Content" ScrollMode="Viewport" SelectedIndex="{Binding TagManager.TabIndex}" IsEnabled="{Binding TagManager.SelectionBusy}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding TagManager.SelectionCommand}"
CommandParameter="{Binding Path=SelectedItem, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadTabControl}}}"/>
</i:EventTrigger>
</i:Interaction.Triggers> <telerik:RadTabItem Header="A" Width="80">
<view:StatusView />
</telerik:RadTabItem> <telerik:RadTabItem Header="B" Width="80">
<view:StatusView />
</telerik:RadTabItem> <telerik:RadTabItem Header="C" Width="80">
<view:AnalogView />
</telerik:RadTabItem> <telerik:RadTabItem Header="D" Width="80">
<view:AnalogView />
</telerik:RadTabItem> <telerik:RadTabItem Header="E" Width="80">
<view:AnalogView />
</telerik:RadTabItem> <telerik:RadTabItem Header="F" Width="80">
<view:CountView />
</telerik:RadTabItem> <telerik:RadTabItem Header="G" Width="80">
<view:CountView />
</telerik:RadTabItem> <telerik:RadTabItem Header="H" Width="80">
<view:CountView />
</telerik:RadTabItem>
</telerik:RadTabControl>
//------------------------------------------------------------------------------------------------------------------------------