File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/Samples/Controls/RadTreeListView Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 5
5
xmlns : controls =" using:Telerik.Windows.Controls"
6
6
xmlns : local =" clr-namespace:OpenSilver.Samples.TelerikUI" >
7
7
8
- <ContentControl Style =" {StaticResource Card_Style}" Height =" 310" Width =" 730 " >
8
+ <ContentControl Style =" {StaticResource Card_Style}" Height =" 310" Width =" 400 " >
9
9
<Grid >
10
10
<Grid .RowDefinitions>
11
11
<RowDefinition Height =" Auto" />
12
12
<RowDefinition Height =" *" />
13
13
<RowDefinition Height =" Auto" />
14
14
</Grid .RowDefinitions>
15
15
<ContentControl Content =" RadTreeListView" Foreground =" #FFD59851" Background =" #FFBFA383" Style =" {StaticResource HeaderControl_Style}" />
16
- <controls : RadTreeListView x : Name =" radTreeListView" CustomLayout =" True" Grid.Row=" 1" ItemsSource =" {Binding WarehouseItems}" Width =" 680" Height =" 270" />
16
+ <controls : RadTreeListView x : Name =" radTreeListView" CustomLayout =" True" Grid.Row=" 1" AutoGenerateColumns =" False" ItemsSource =" {Binding WarehouseItems}" Width =" 380" Height =" 270" >
17
+ <controls : RadTreeListView .ChildTableDefinitions>
18
+ <controls : TreeListViewTableDefinition ItemsSource =" {Binding Items}" />
19
+ </controls : RadTreeListView .ChildTableDefinitions>
20
+ <controls : RadTreeListView .Columns>
21
+ <controls : GridViewDataColumn DataMemberBinding =" {Binding Name}" Header =" Name" />
22
+ <controls : GridViewDataColumn DataMemberBinding =" {Binding Count}" Header =" Count" />
23
+ </controls : RadTreeListView .Columns>
24
+ </controls : RadTreeListView >
17
25
<Button Grid.Row=" 2" Content =" VIEW SOURCE..." Click =" ButtonViewSource_Click" Background =" #FF6F7DFF" Style =" {StaticResource ButtonViewSource_Style}" />
18
26
</Grid >
19
27
</ContentControl >
You can’t perform that action at this time.
0 commit comments