or
<Window x:Class="telerik_context_menu_taborder.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="350" Width="525"> <Grid> <Rectangle Fill="Black" Width="100" Height="50"> <telerik:RadContextMenu.ContextMenu> <telerik:RadContextMenu KeyboardNavigation.TabNavigation="Cycle" > <Grid> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <TextBox Grid.Row="0" Text="TextBox1" /> <TextBox Grid.Row="1" Text="TextBox2" /> <TextBox Grid.Row="2" Text="TextBox3" /> </Grid> </telerik:RadContextMenu> </telerik:RadContextMenu.ContextMenu> </Rectangle> </Grid></Window><Window x:Class="RadMapPerf.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="600" Width="800"> <Grid> <telerik:RadMap x:Name="RadMap" Center="38.8993487,-77.0145665" UseDefaultLayout="False" ZoomLevel="7"> <telerik:RadMap.Provider> <telerik:OpenStreetMapProvider IsTileCachingEnabled="True"/> </telerik:RadMap.Provider> </telerik:RadMap> </Grid></Window>public partial class MainWindow : Window { private readonly List<string> _memory = new List<string>(); public MainWindow() { InitializeComponent(); // fake memory usage for (var i = 0; i < 100000000; i++) _memory.Add("memory_usage"); } }
<UserControl x:Class="Scheduler.Views.SchedulerView" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:views="clr-namespace:Scheduler.Views" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"> <UserControl.DataContext> <views:SchedulerViewModel/> </UserControl.DataContext> <Grid> <telerik:RadScheduleView AppointmentsSource="{Binding Appointments}" ResourceTypesSource="{Binding ResourcesTypes}" > <telerik:RadScheduleView.ViewDefinitions> <!--<telerik:DayViewDefinition /> <telerik:WeekViewDefinition /> <telerik:MonthViewDefinition/>--> <telerik:TimelineViewDefinition MinTimeRulerExtent="1000" VisibleDays="2" MinorTickLength="1h" MajorTickLength="6h" GroupTickLength="1d" /> </telerik:RadScheduleView.ViewDefinitions> <telerik:RadScheduleView.GroupDescriptionsSource> <telerik:GroupDescriptionCollection> <telerik:DateGroupDescription /> <telerik:ResourceGroupDescription ResourceType="Room"/> <telerik:ResourceGroupDescription ResourceType="Speaker"/> </telerik:GroupDescriptionCollection> </telerik:RadScheduleView.GroupDescriptionsSource> <telerik:RadScheduleView.GroupHeaderContentTemplate> <DataTemplate> <TextBlock Text="{Binding FormattedName}" Width="70" Margin="10" VerticalAlignment="Center" /> </DataTemplate> </telerik:RadScheduleView.GroupHeaderContentTemplate> </telerik:RadScheduleView> </Grid> </UserControl>using System.Collections.ObjectModel;using Telerik.Windows.Controls;using Telerik.Windows.Controls.ScheduleView;namespace Scheduler.Views{ public class SchedulerViewModel { public SchedulerViewModel() { ResourcesTypes = GenerateResourceTypes(); Appointments = new ObservableCollection<Appointment>(); } public ObservableCollection<Appointment> Appointments { get; set; } public ObservableCollection<ResourceType> ResourcesTypes { get; set; } private ObservableCollection<ResourceType> GenerateResourceTypes() { var result = new ObservableCollection<ResourceType>(); var roomType = new ResourceType("Room"); var room1 = new Resource("Room Alfa"); var room2 = new Resource("Room Beta"); var room3 = new Resource("Room Gama"); roomType.Resources.Add(room1); roomType.Resources.Add(room2); roomType.Resources.Add(room3); var speakerType = new ResourceType("Speaker"); var speaker1 = new Resource("Tom"); var speaker2 = new Resource("Bob"); var speaker3 = new Resource("John"); speakerType.Resources.Add(speaker1); speakerType.Resources.Add(speaker2); speakerType.Resources.Add(speaker3); result.Add(roomType); result.Add(speakerType); return result; } }} <DataTemplate x:Key="RadComboBoxItemTemplate"> <CheckBox Content="{Binding}" IsChecked="{Binding Path=IsSelected,Mode=TwoWay}" Height="16" HorizontalAlignment="Left" Margin="2" VerticalAlignment="Top" /> </DataTemplate> <DataTemplate x:Key="SelectionBoxTemplate"> <TextBlock Text="{Binding SelectedItemsText,Mode=TwoWay}" /> </DataTemplate><telerik:RadComboBox Name="cb_Others" ItemTemplate="{StaticResource RadComboBoxItemTemplate}" SelectionBoxTemplate="{StaticResource SelectionBoxTemplate}" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="3,3,6,3"/>cb_Others.ItemsSource = AvailableOthers; // where AvailablesOthers is a List<string>Hi,
Currently we are using a third party controls for generating Diagram (Process Flowchart) within our WPF application.
we are planning to move to your Diagram control to get rid of dependencies on multiple libraries but the only problem that's stopping us is "Export to Visio & PDF Feature is missing from the Diagram control"
Do you have any plans to include these features in your next release Q2 2012
Regards
Manoj
