or
<
ti:RadComboBox
Name
=
"CodeComboBox"
Margin
=
"5,0,0,0"
MinWidth
=
"80"
tc:StyleManager.Theme
=
"Office_Blue"
IsEditable
=
"True"
ItemsSource
=
"{Binding DataView}"
DisplayMemberPath
=
"{Binding DisplayColumnName}"
SelectedValuePath
=
"{Binding KeyColumnName}"
SelectedItem
=
"{Binding SelectedView}">
<
ti:RadComboBox.SelectionBoxTemplate
>
<
DataTemplate
>
<
TextBox
Text
=
"Hows it going"
Background
=
"Green"
/>
</
DataTemplate
>
</
ti:RadComboBox.SelectionBoxTemplate
>
</
ti:RadComboBox
>
Am I doing something wrong?
ID Name ParentID
1 John NULL ** Top level node **
2 Chris 1 ** Parent is John **
3 Simon NULL ** Top level node **
4 Dave 1 ** parent is John **
5 Joe 3 ** parent is simon **
<
telerik:RadTreeListView
x:Name
=
"ParksTreeListView"
AutoGenerateColumns
=
"False"
IsFilteringAllowed
=
"True"
IsBusy
=
"False"
>
<
telerik:RadTreeListView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding ID}"
Header
=
"ID"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name}"
Header
=
"Name"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding ParentID}"
Header
=
"Parent"
/>
</
telerik:RadTreeListView.Columns
>
</
telerik:RadTreeListView
>
'Get parks information from SQL database
Dim
parksList
As
ObservableCollection(Of ParksTree) = ParksDB.GetAllParks()
'Set Tree items source
ParksTreeListView.ItemsSource = parksList
<
telerik:RadOutlookBar
x:Name
=
"RadOutlookBar"
Grid.Column
=
"0"
SelectedItem
=
"{Binding SelectedSection, Mode=TwoWay}"
>
</
telerik:RadOutlookBar
>
ObservableCollection<
Foo
> Bar
<
telerik:RadDataPager x:Name="radDataPager"
Source
=
"{Binding Bar}"
/>
<
ListBox
ItemsSource
=
"{Binding PagedSource, ElementName=radDataPager}"
/>