File tree Expand file tree Collapse file tree 4 files changed +24
-12
lines changed
OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/Samples/Controls Expand file tree Collapse file tree 4 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 14
14
</Grid .RowDefinitions>
15
15
<ContentControl Content =" GroupBox" Foreground =" #FFFF81E3" Background =" #FFCB9DC1" Style =" {StaticResource HeaderControl_Style}" />
16
16
<StackPanel Grid.Row=" 1" Orientation =" Horizontal" HorizontalAlignment =" Center" VerticalAlignment =" Center" >
17
- <!-- < controls:GroupBox Header="GroupBox Header">
17
+ <controls : GroupBox Header =" GroupBox Header" >
18
18
<TextBlock >I am inside a groupbox</TextBlock >
19
- </controls:GroupBox>-->
19
+ </controls : GroupBox >
20
20
</StackPanel >
21
21
22
22
<Button Grid.Row=" 2" Content =" VIEW SOURCE..." Click =" ButtonViewSource_Click" Background =" #FFFF81E3" Style =" {StaticResource ButtonViewSource_Style}" />
Original file line number Diff line number Diff line change 14
14
</Grid .RowDefinitions>
15
15
<ContentControl Content =" RadSplitButton" Foreground =" #FFFFA443" Background =" #FFCB9E73" Style =" {StaticResource HeaderControl_Style}" />
16
16
<StackPanel Grid.Row=" 1" Orientation =" Horizontal" HorizontalAlignment =" Center" VerticalAlignment =" Center" >
17
- <!-- <controls:RadSplitButton Content="Split Button">
18
- <ListBox x:Name="FindActions" SelectionMode="Single">
19
- <ListBoxItem Content="Quick Find" IsSelected="True" />
20
- <ListBoxItem Content="Find in Files" />
21
- <ListBoxItem Content="Find Symbols" />
22
- </ListBox>
23
- </controls:RadSplitButton>-->
17
+ <controls : RadSplitButton Content =" Split Button" >
18
+ <controls : RadSplitButton .DropDownContent>
19
+ <ListBox x : Name =" FindActions" SelectionMode =" Single" >
20
+ <ListBoxItem Content =" Quick Find" IsSelected =" True" />
21
+ <ListBoxItem Content =" Find in Files" />
22
+ <ListBoxItem Content =" Find Symbols" />
23
+ </ListBox >
24
+ </controls : RadSplitButton .DropDownContent>
25
+ </controls : RadSplitButton >
24
26
</StackPanel >
25
27
26
28
<Button Grid.Row=" 2" Content =" VIEW SOURCE..." Click =" ButtonViewSource_Click" Background =" #FF6F7DFF" Style =" {StaticResource ButtonViewSource_Style}" />
Original file line number Diff line number Diff line change 13
13
<RowDefinition Height =" Auto" />
14
14
</Grid .RowDefinitions>
15
15
<ContentControl Content =" RadTimePicker" Foreground =" #FFD59851" Background =" #FFBFA383" Style =" {StaticResource HeaderControl_Style}" />
16
- <controls : RadTimePicker Grid.Row=" 1" Width =" 150" CustomLayout =" True" />
16
+ <StackPanel Grid.Row=" 1" Orientation =" Horizontal" HorizontalAlignment =" Center" VerticalAlignment =" Center" >
17
+ <controls : RadTimePicker Width =" 150" />
18
+ </StackPanel >
17
19
<Button Grid.Row=" 2" Content =" VIEW SOURCE..." Click =" ButtonViewSource_Click" Background =" #FF6F7DFF" Style =" {StaticResource ButtonViewSource_Style}" />
18
20
</Grid >
19
21
</ContentControl >
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