Telerik blogs

Latest

  • Desktop WPF

    Using the Multiple Selection of the RadCalendar control for Silverlight and WPF with MVVM

    Developing and supporting MVVM applications is easy and effective. That's why we want to create MVVM applications that follow this pattern. Sometimes the controls we use have some limitations. For example, list properties, which are read-only and do not allow us to create an appropriate binding to our view-models. It is normal for properties of list type to be read-only, because this is considered a good practice, but it becomes a problem for the MVVM pattern. In the ItemsControl this problem is solved with two properties - Items and ItemsSource. This blog post is about an example that demonstrates how to create...
    May 27, 2021 1 min read
  • Desktop WinForms

    Let’s build a board game with RadGridView for WinForms

    You probably know RadGridView for WinForms. It became a must for every serious business application for its great and widely used features – load-on-demand hierarchy, self-referencing hierarchy, grouping, sorting, filtering, exporting capabilities and many others. There is one more cool feature that will greatly improve the user experience of your application – our built-in drag and drop mechanism. This is the core feature of the application that we would like to introduce today, namely Telerik Checkers.   As the name implies, Telerik Checkers is an implementation of the standard Checkers game and follows most of its rules. The drag and drop restrictions and customizations are possible thanks to the...
    May 27, 2021 1 min read
  • Desktop WPF

    Complex filtering for RadChart

    RadChart allows you to programmatically filter its data using FilterDescriptors as demonstrated in our help topic. However there are scenarios where you would like to have more complex filtering. For a sample scenario where a Chart is drawn according to the filtered RadGridView’s data - read further. The Chart and the GridView will be populated with the same data source – List of Business Objects: public class MyDateObject   {       public double SampleValue { get; set; }       public DateTime Date { get; set; }   }     public class MyDataContext   {       public const int min = 20;       public const int max = 80;       public ObservableCollection<MyDateObject> List { get; set; }       Random r = new Random();       DateTime baseDate = DateTime.Today;         public MyDataContext()       {           this.CreateChartData();       }         private void CreateChartData()       {           List = new ObservableCollection<MyDateObject>();           for (int i = 0; i < 15; i++)           {               List.Add(new MyDateObject() { SampleValue = r.Next(min,...
    May 27, 2021 2 min read
  • Desktop WPF

    Getting Started Video Series for RadTimeBar for Silverlight and WPF

    A week after the official release of RadTimeBar for Silverlight and WPF with the Q1 2011 SP1 release, we have some fresh new resources ready for you to watch to start getting the hang of working with RadTimeBar and integration with other RadControls. Last week I blogged about the Official Release of RadTimeBar, which included walking through some examples and some sample code.  But some of you would rather see it in action along with an expert voice on how this integration can take place - and we heard you!  We have just published three new videos up to Telerik TV...
    May 27, 2021 1 min read
  • Desktop WPF

    How to create Scatter Error Bars and Box Plot Series with RadChart for SL/WPF

       Currently RadChart provides 27 2D Chart types for SL/WPF. You can easily customise the existing chart types to create a more complex series like the box plot(also known as box-and-whisker diagram and widely spread in descriptive statistics). This blog post will demonstrate how to create Box Plot and Scatter Error bars by reusing the default Styles of the CandleStick and Scatter series and adding custom CandleStick / CandleStickSeriesDefinition (ScatterPoint/ ScatterSeriesDefinition) pair of classes. Box Plot: The BoxPlot have five number summaries: the smallest observation (sample minimum), lower quartile(Q1), median (Q2), upper quartile(Q3), and largest observation (sample maximum).For the purpose the Open, Close, High and Low...
    May 27, 2021 3 min read