or
<telerik:GridViewImageColumn DataMemberBinding="{Binding Bild}" Width="50" IsEnabled="False" ImageStretch="None" />public class Calls{ public string Name { get; set; } public string Tele { get; set; } public string time { get; set; } public string Datum { get; set; } public Image bild { get; set; }}ObservableCollection<Calls> _CallCollection = new ObservableCollection<Calls>();_CallCollection.Add(new Calls { Name = name_s, Tele = tele_s, time = time_s, Datum = datum_s, bild = image });var image = new Image();image.Source = new BitmapImage(new Uri("pack://application:,,/Images/settings.png", UriKind.Absolute));Hi,
I am using radGridView with 2 level hierarchy with HierarchyChildTemplate. I don't want to show any column headers for the lowest level grid and I set ShowColumnHeaders to False. I do not want to show that there's an inner grid at the first child level. How can I remove the space around the radGridView?
I do not have any margins, padding, border
thickness properties. I tried removing the whole HierarchyChildTemplate
but still there is empty space. Can anyone please help where that space is coming. Please refer to attached pictures for clarity. Requirement is that the area marked with green should not appear.
Thanks,
Rosy
<telerik1:RadChart x:Name="PassFailChart" BorderThickness="0" Padding="0,10,0,0" Background="{x:Null}" IsTabStop="False" Grid.Row="1"> <telerik1:RadChart.DefaultView> <telerik1:ChartDefaultView> <telerik1:ChartDefaultView.ChartLegend> <telerik1:ChartLegend x:Name="chartLegend" LegendItemMarkerShape="Circle" Background="{x:Null}" BorderBrush="{x:Null}" UseAutoGeneratedItems="True" /> </telerik1:ChartDefaultView.ChartLegend> <telerik1:ChartDefaultView.ChartArea> <telerik1:ChartArea LegendName="chartLegend"> <telerik1:ChartArea.AxisY> <telerik1:AxisY StripLinesVisibility="Hidden" MinorTicksVisibility="Hidden" ExtendDirection="Up" /> </telerik1:ChartArea.AxisY> </telerik1:ChartArea> </telerik1:ChartDefaultView.ChartArea> </telerik1:ChartDefaultView> </telerik1:RadChart.DefaultView> <telerik1:RadChart.AnimationSettings> <telerik1:AnimationSettings ItemDelay="00:00:00" DefaultSeriesDelay="00:00:01" /> </telerik1:RadChart.AnimationSettings> <telerik1:RadChart.SeriesMappings> <telerik1:SeriesMapping LegendLabel="{Binding ElementName=cbPass, Path=Content}" ItemsSource="{Binding Path=GraphRuntime[Pass], Mode=TwoWay}" SeriesDefinition="{Binding Path=PassDefinition, Mode=TwoWay}"> <telerik1:SeriesMapping.ItemMappings> <telerik1:ItemMapping DataPointMember="YValue" FieldName="Value"/> <telerik1:ItemMapping DataPointMember="XCategory" FieldName="Label" /> </telerik1:SeriesMapping.ItemMappings> </telerik1:SeriesMapping> <telerik1:SeriesMapping LegendLabel="{Binding ElementName=cbFail, Path=Content}" ItemsSource="{Binding Path=GraphRuntime[Fail], Mode=TwoWay}" SeriesDefinition="{Binding Path=FailDefinition, Mode=TwoWay}"> <telerik1:SeriesMapping.ItemMappings> <telerik1:ItemMapping DataPointMember="YValue" FieldName="Value"/> <telerik1:ItemMapping DataPointMember="XCategory" FieldName="Label"/> </telerik1:SeriesMapping.ItemMappings> </telerik1:SeriesMapping> <telerik1:SeriesMapping LegendLabel="{Binding ElementName=cbReconstitution, Path=Content}" ItemsSource="{Binding Path=GraphRuntime[Reconstitution], Mode=TwoWay}" SeriesDefinition="{Binding Path=ReconstitutionDefinition, Mode=TwoWay}" > <telerik1:SeriesMapping.ItemMappings> <telerik1:ItemMapping DataPointMember="YValue" FieldName="Value"/> <telerik1:ItemMapping DataPointMember="XCategory" FieldName="Label"/> </telerik1:SeriesMapping.ItemMappings> </telerik1:SeriesMapping> </telerik1:RadChart.SeriesMappings> </telerik1:RadChart>