or
<
Telerik:RadGridView.ColumnGroups
>
<
Telerik:GridViewColumnGroup
Name
=
"gvGroup"
Header
=
"Header"
></
Telerik:GridViewColumnGroup
>
</
Telerik:RadGridView.ColumnGroups
>
foreach (GridViewColumnGroup item
in
radgvPrerequisiteRelType.ColumnGroups)
{
if
(item.Name ==
"gvGroup"
)
{
item.Header =
null
;
item.Header =
"ProjectId ["
+ lngProjectId +
"]"
;
}
}
<
DataTemplate
x:Key
=
"ContentTemplate"
>
<
Grid
Width
=
"{Binding RestoredWidth}"
Height
=
"{Binding RestoredHeight}"
>
<
telerik:RadTileViewItem
Background
=
"#1a9fe0"
Content
=
"{Binding Content}"
MinimizedHeight
=
"125"
RestoredHeight
=
"{Binding RestoredHeight}"
RestoredWidth
=
"{Binding RestoredWidth}"
Style
=
"{DynamicResource RadTileViewItemStyle}"
/>
</
Grid
>
</
DataTemplate
>
RadTileViewItemStyle
is Same Style I used in First RadTileView<!--///////////////////////////////////////////////////////////////////////////////////-->
<
telerik:RadTileView
Name
=
"RadTileView1"
Width
=
"1000"
Grid.Row
=
"1"
Grid.Column
=
"1"
MaximizeMode
=
"Zero"
Margin
=
"20 0 0 0"
Height
=
"400"
ColumnsCount
=
"4"
RowHeight
=
"Auto"
ColumnWidth
=
"Auto"
DragMode
=
"Swap"
MinimizedColumnWidth
=
"100"
MinimizedRowHeight
=
"Auto"
HorizontalContentAlignment
=
"Stretch"
PreservePositionWhenMaximized
=
"True"
telerik:TileViewPanel.IsColumnsShrinkEnabled
=
"True"
telerik:TileViewPanel.IsSizeBoundToPosition
=
"True"
ContentTemplate
=
"{StaticResource ContentTemplate}"
>
</
telerik:RadTileView
>
public
List<TileView> Collection =
new
List<TileView>();
///////////////////////////////////////////////////////////////////////////
Collection.Add(
new
TileView() { Content =
"Item8"
, RestoredHeight = 100, RestoredWidth = 245 });
Collection.Add(
new
TileView() { Content =
"Item9"
, RestoredHeight = 100, RestoredWidth = 245 });
Collection.Add(
new
TileView() { Content =
"Item10"
, RestoredHeight = 100, RestoredWidth = 245 });
Collection.Add(
new
TileView() { Content =
"Item11"
, RestoredHeight = 100, RestoredWidth = 245 });
Collection.Add(
new
TileView() { Content =
"Item12"
, RestoredHeight = 100, RestoredWidth = 245 });
Collection.Add(
new
TileView() { Content =
"Item13"
, RestoredHeight = 100, RestoredWidth = 122 });
Collection.Add(
new
TileView() { Content =
"Item14"
, RestoredHeight = 100, RestoredWidth = 122 });
Collection.Add(
new
TileView() { Content =
"Item15"
, RestoredHeight = 100, RestoredWidth = 245 });
Collection.Add(
new
TileView() { Content =
"Item16"
, RestoredHeight = 100, RestoredWidth = 245 });
RadTileView1.ItemsSource = Collection;