Telerik blogs

Latest

  • 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...
  • 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,...
  • 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...
    April 28, 2011
  • 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...
  • Desktop WinForms

    RadDragAndDropManager - What's in a Drag Cue?

    Every once in a while a customer will come to us and ask about a particular piece of functionality in one of the RadControls for Silverlight or RadControls for WPF that isn't covered in the demos, documentation, or videos. Just this week, one of the fans on our Telerik Facebook page did just that - specifically asking whether you could use a certain type of layout panel for the drag cue of RadDragAndDropManager.  Normally in a case like this, I want to say "Yeah, it's just a DataTemplate in Silverlight/WPF, so you could do almost anything there!" But we're developers, and code speaks...
    April 15, 2011