or
<
telerik:RadGridView.Columns
>
<
telerik:GridViewToggleRowDetailsColumn
></
telerik:GridViewToggleRowDetailsColumn
>
<
telerik:GridViewComboBoxColumn
Name
=
"PositionCombo"
Header
=
"Position"
DataMemberBinding
=
"{Binding Path=PositionID , Mode=TwoWay}"
DisplayMemberPath
=
"Name"
SelectedValueMemberPath
=
"ID"
/>
<
telerik:GridViewComboBoxColumn
Name
=
"StatesCombo"
Header
=
"State"
DataMemberBinding
=
"{Binding Path=StateID , Mode=TwoWay}"
DisplayMemberPath
=
"Name"
SelectedValueMemberPath
=
"ID"
/>
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.RowDetailsTemplate
>
<
DataTemplate
>
</
DataTemplate
>
</
telerik:RadGridView.RowDetailsTemplate
>
DataClassesDataContext db = new DataClassesDataContext();
this.CandidatesGrid.ItemsSource = new QueryableCollectionView(db.Candidates);
((GridViewComboBoxColumn)this.CandidatesGrid.Columns[1]).ItemsSource = db.Positions;
((GridViewComboBoxColumn)this.CandidatesGrid.Columns[2]).ItemsSource = db.States;
InitializeComponent();
RanksGridView.ItemsSource = _crewing.Ranks.OrderBy(r=>r.Name);
I'm creating a MVVM application (WPF Browser Application) which uses RadWindow to show images. Every time I open image with the RadWindow and close it, the memory usage continues increased and never fall back, at the end, it will throw Out of Memory exception. Is there anyone know why RadWindow can not free the memory it used.
<
telerik:RadMenu
Grid.Row
=
"1"
Style
=
"{StaticResource MenuStyle}"
ItemsSource
=
"{StaticResource MenuItemsSource}"
ItemContainerStyleSelector
=
"{StaticResource MenuItemStyleSelector}"
ItemContainerStyle
=
"{x:Null}"
MenuItem.Click
=
"MenuItem_Click"
/>