or
<telerik:RadFluidContentControl NormalToSmallThreshold="200 200" NormalToLargeThreshold="500 300"> <telerik:RadFluidContentControl.SmallContent> <TextBlock Text="Small Content" /> </telerik:RadFluidContentControl.SmallContent> <telerik:RadFluidContentControl.Content> <TextBlock Text="Normal Content" /> </telerik:RadFluidContentControl.Content> <telerik:RadFluidContentControl.LargeContent> <Grid> <telerik:RadGridView x:Name="RadGridView" HorizontalAlignment="Left" VerticalAlignment="Top" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed" ItemsSource="{Binding Today}" AutoGenerateColumns="False" BorderThickness="0" CanUserSelect="False" ShowGroupPanel="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Task" DataMemberBinding="{Binding Path=Task}" IsReadOnly="True" TextWrapping="Wrap" IsFilterable="False"/> <telerik:GridViewDataColumn Header="Tool" DataMemberBinding="{Binding Path=Tool}" IsReadOnly="True" TextWrapping="Wrap" IsFilterable="False"/> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid> </telerik:RadFluidContentControl.LargeContent></telerik:RadFluidContentControl>
public List<RadDiagramShape> GetShapeUnderDragPosition(){ List<IShape> ShapeList = this.ServiceLocator.GetService<IHitTestService>().GetTopShapesUnderPoint(this.currentDragPosition).ToList(); List<RadDiagramShape> RetList = new List<RadDiagramShape>(); foreach (IShape shape in ShapeList) { if (shape is RadDiagramShape) { RetList.Add((RadDiagramShape)shape); } } return RetList;}