or
<
telerik:DayViewDefinition
VisibleDays
=
"{Binding DataContext.VisibleDays, ElementName=Schedule}"
MajorTickLength
=
"1h"
MinorTickLength
=
"{Binding DataContext.Interval, ElementName=Schedule}"
DayStartTime
=
"{Binding DataContext.DayStartTime, ElementName=Schedule}"
DayEndTime
=
"{Binding DataContext.DayEndTime, ElementName=Schedule}"
TimerulerMajorTickStringFormat
=
"{}{0:h t}"
TimerulerMinorTickStringFormat
=
"{}{0:mm}"
/>
<
telerik:RadDocking
x:Name
=
"Docking"
Close
=
"Docking_Close"
>
<
telerik:RadSplitContainer
InitialPosition
=
"DockedLeft"
Width
=
"240"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
x:Name
=
"rpDatabaseBrowser"
Header
=
"Database Browser"
>
<
Grid
>
<
telerik:RadTreeView
Name
=
"RadTreeView1"
ImagesBaseDir
=
"/Images/"
LoadOnDemand
=
"RadTreeView1_LoadOnDemand"
IsDragDropEnabled
=
"True"
telerik:RadDragAndDropManager.AllowDrop
=
"False"
>
</
telerik:RadTreeView
>
</
Grid
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
x:Name
=
"rpg1"
telerik:RadDragAndDropManager.AllowDrop
=
"True"
>
<
telerik:RadPane
x:Name
=
"rp1"
Title
=
"Pane 1"
>
<
Grid
>
<
telerik:RadGridView
x:Name
=
"GridView1"
Visibility
=
"Hidden"
DataLoadMode
=
"Asynchronous"
>
</
telerik:RadGridView
>
</
Grid
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
x:Name
=
"rpg2"
telerik:RadDragAndDropManager.AllowDrop
=
"True"
>
<
telerik:RadPane
x:Name
=
"rp2"
Title
=
"Pane 2"
>
<
Grid
>
<
telerik:RadGridView
x:Name
=
"GridView2"
Visibility
=
"Hidden"
DataLoadMode
=
"Asynchronous"
>
</
telerik:RadGridView
>
</
Grid
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
public
MainWindow()
{
InitializeComponent();
RadDragAndDropManager.AddDropInfoHandler(rpg1, OnDatabaseBrowserDropInfo);
RadDragAndDropManager.AddDropInfoHandler(rpg2, OnDatabaseBrowserDropInfo);
}
private
void
OnDatabaseBrowserDropInfo(
object
sender, DragDropEventArgs e)
{
//work out which RadTreeViewItem is dragged from
//work out which RadPaneGroup is dropped on
//populate Grid on RadPane
}
Update<TResult>(Expression<Func<TEntity, TResult>> entity, Expression<Func<TEntity, bool>> predicate);