or
LocationRect? selectionRect = null; foreach(MapShape shape in Items) { LocationRect shapeLocationRect = shape.GeographicalBounds; shapeLocationRect.MapControl = MapControl; if (shapeLocationRect.Contains(location)) { selectionRect = shapeLocationRect; break; } }foreach (var layerItem in layer.Items) { if (layerItem is MapShape) { MapShape mapShape = (MapShape)layerItem; if (selectionRect.HasValue && mapShape.GeographicalBounds.Intersect(selectionRect.Value)) { } } } Hi
I want to know the boundary conditions for TreeListView using WPF.
1. I am loading the hierarchical levels on demand.
How many hierarchical levels can be displayed/added in TreeListView using WPF?
2. How many Rows can be displayed in TreeListView using WPF ?
3 How many Columns can be displayed in TreeListView using WPF ?
I want to display 250-300 columns.
Is there any facility to add the columns dynamically....
like we can add columns on demand while horizontal scrolling?
Thanks.
IsDragPreviewEnabled="False"But I still get all the visuals. I'd be fine with the visual queue that shows the red indicator saying no to the user.
IsDragTooltipEnabled="False"
IsDropPreviewLineEnabled="False"
<telerik:RadTileView DataContext="{Binding Source={StaticResource DS}, PresentationTraceSources.TraceLevel=High}" ItemsSource="{Binding}" x:Name="mainTileView" Height="Auto" Width="Auto" Margin="0 0 7 0" MaximizeMode="One" TileStateChangeTrigger="SingleClick" MinimizedColumnWidth="180" TileStateChanged="TileView1_TileStateChanged"> <telerik:RadTileView.ItemContainerStyle> <Style TargetType="telerik:RadTileViewItem"> <Setter Property="MinimizedHeight" Value="155" /> </Style> </telerik:RadTileView.ItemContainerStyle> <telerik:RadTileView.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding UserLabel}" /> </DataTemplate> </telerik:RadTileView.ItemTemplate> <telerik:RadTileView.ContentTemplate> <DataTemplate> <Grid> <telerik:RadFluidContentControl SmallToNormalThreshold="190, 140" NormalToSmallThreshold="190, 140" NormalToLargeThreshold="320, 320" LargeToNormalThreshold="320, 320"> <telerik:RadFluidContentControl.SmallContent> <Grid> <Border Width="193" Height="130" RenderTransformOrigin="0.248,-1.288"> <StackPanel> <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="12" Text="DS Storage System:" /> <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="12" Text="{Binding UserLabel}" /> </StackPanel> </Border> </Grid> </telerik:RadFluidContentControl.SmallContent> <telerik:RadFluidContentControl.Content> <Grid> <StackPanel> <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="12" Text="Drawers" /> </StackPanel> </Grid> </telerik:RadFluidContentControl.Content> <telerik:RadFluidContentControl.LargeContent> <telerik:RadTileView x:Name="drawerTileView" ItemsSource="{Binding Source={ StaticResource DrawersData}}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0 0 7 0" MaximizeMode="One" TileStateChangeTrigger="SingleClick" MinimizedColumnWidth="180" TileStateChanged="TileView1_TileStateChanged"> <telerik:RadTileView.ItemContainerStyle> <Style TargetType="telerik:RadTileViewItem"> <Setter Property="MinimizedHeight" Value="155" /> </Style> </telerik:RadTileView.ItemContainerStyle> <telerik:RadTileView.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding DrawerNumber}" /> </DataTemplate> </telerik:RadTileView.ItemTemplate> <telerik:RadTileView.ContentTemplate> <DataTemplate> <Grid> <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="12" Text="Drives" /> <telerik:RadGridView x:Name="gridDrives" ItemsSource="{Binding Source={ StaticResource DrivesData}}" /> </Grid> </DataTemplate> </telerik:RadTileView.ContentTemplate> </telerik:RadTileView> </telerik:RadFluidContentControl.LargeContent> </telerik:RadFluidContentControl> </Grid> </DataTemplate> </telerik:RadTileView.ContentTemplate> </telerik:RadTileView>