
<DataTemplate x:Key="MachineTileLarge"><Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <telerik:RadHorizontalBulletGraph Grid.Row="1" Maximum="100" ComparativeMeasureBrush="CornflowerBlue" FeaturedMeasureBrush="SeaGreen" ComparativeMeasure="32" FeaturedMeasure="75" /></Grid></DataTemplate>
<DataTemplate x:Key="MachineTemplate">
<telerik:RadFluidContentControl ContentChangeMode="Manual" TransitionDuration="0:0:.5"
State="{Binding State, Converter={StaticResource tileConverter}}"
SmallContentTemplate="{StaticResource MachineTileSmall}"
ContentTemplate="{StaticResource MachineTileNormal}"
LargeContentTemplate="{StaticResource MachineTileLarge}" />
</DataTemplate>
<Style TargetType="telerik:RadTileView">
<Setter Property="PreservePositionWhenMaximized" Value="True" />
<Setter Property="telerik:TileViewPanel.IsVirtualized" Value="True" />
<Setter Property="IsAutoScrollingEnabled" Value="True" />
<Setter Property="TileStateChangeTrigger" Value="SingleClick" />
<Setter Property="MinimizedColumnWidth" Value="200" />
<Setter Property="MinimizedRowHeight" Value="225" />
<Setter Property="RowHeight" Value="330" />
<Setter Property="ColumnWidth" Value="290" />
<Setter Property="ContentTemplate" Value="{StaticResource MachineTemplate}" />
<Setter Property="ItemTemplate" Value="{StaticResource MachineTileHeader}" />
</Style>
<telerik:RadTileView ItemsSource="{Binding Path=MachineStatusItems}"
TileStateChanged="tileView_TileStateChanged"
TileStateChangeTrigger="SingleClick"
MaximizeMode="ZeroOrOne"
IsItemDraggingEnabled="True"
PreservePositionWhenMaximized="True"/>

Binding myBinding = _isPropertyEditor ? new Binding("DisplayNameEditor") : new Binding("DisplayNamePropertyEditor");
myBinding.Source = DataContext;
Header.
SetBinding(TextBlock.TextProperty, myBinding);
Hi,
I have used the below code to make the parent and child gird (self reference) column with as same.
this.binder = new ColumnWidthBinder(this.RadGridView1);
if (
dataControl.ParentOfType<RadGridView>() != null)
{
for(int i = 0; i < dataControl.Columns.Count; i++)
{
this.binder.RegisterColumn(dataControl.Columns[i], i);
}
}
all the column widths of parent and child coming correctly. the self reference hierarchy is also find but its like all left aligned. If I want to maintain the width as same and also the child items should indent from the parent (tree view hierarchy), what I have to do?
Any help appreciated?
Thanks,
Ramasamy