Hello
I am evaluating RadControls on silver light for our LOB application we shall start.
i am looking to code using MVVM . Currently every thing looks good but i faced two issue with RadDocking
i am trying to bind the radpan to an observable collection like below
First thing i faced is that when i add elements to the MainGroup observable collection it is added with having Window8 as style.
Second if i try to drag the pan it crash .
Any idea how to save the style when adding items dynamically.
Best Regards
Shahbour
I am evaluating RadControls on silver light for our LOB application we shall start.
i am looking to code using MVVM . Currently every thing looks good but i faced two issue with RadDocking
i am trying to bind the radpan to an observable collection like below
<
telerik:RadDocking
Grid.Row
=
"1"
telerik:StyleManager.Theme
=
"Windows8"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
ItemsSource
=
"{Binding MainGroup}"
>
<!--<
telerik:RadDocumentPane
Header
=
"Document 1"
Title
=
"Document 1"
/>
<
telerik:RadDocumentPane
Header
=
"Document 2"
Title
=
"Document 2"
/>-->
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
<
telerik:RadDocking
/>
public
ObservableCollection<Telerik.Windows.Controls.RadPane> MainGroup
{
get
{
if
(_mainGroup ==
null
)
_mainGroup =
new
ObservableCollection<Telerik.Windows.Controls.RadPane>();
return
_mainGroup;
}
}
First thing i faced is that when i add elements to the MainGroup observable collection it is added with having Window8 as style.
Second if i try to drag the pan it crash .
Any idea how to save the style when adding items dynamically.
Best Regards
Shahbour