Telerik blogs
  • Desktop WPF

    Editing the RadScheduleView's TimeRulerItemTemplateSelector

    RadControls for WPF, 2011.Q1 We will start with the project from the previous post: DOWNLOAD: RadScheduleView_GroupHeaderTemplates.zip And will produce the following project that has its timeruler items modified: DOWNLOAD: RadScheduleView_TimeRulerItemTemplates.zip Using the GroupHeaderContentTemplateSelector you can bind to the resource data. In the time ruler this is not the case. The time ruler items present date information and at this time they can’t be modified through items source property. We will create an inline template selector and discuss some of the TimeRulerItem DataTemplates. Converting the TimeRulerItemTemplateSelector to Local Value Select the RadScheduleView, go to the “Styling” section in the “Properties” tab and click the rectangle near the “TimeRulerItemTemplateSelector” property. Then...
    March 24, 2011
  • Desktop WPF

    Editing the GroupHeaderContentTemplateSelector of RadScheduleView

    RadControls for WPF, 2011.Q1 We will start with the project from the previous post: DOWNLOAD: RadScheduleView_StartUp.zip And will create a project that has one of the GroupHeader templates modified: DOWNLOAD: RadScheduleView_GroupHeaderTemplates.zip Converting the GroupHeaderContentTemplateSelector to Resource Select the RadScheduleView on the Design Surface. Go to the “Styling” property group. Click the small rectangle near the “GroupHeaderContentTemplateSelector” and use the “Convert to New Resource…” option: Name the new resource “GroupHeaderTemplateSelector”: Converting a DataTemplate from the GroupHeaderContentTemplateSelector to Resource Click again the “GroupHeaderTemplateSelector” and “Edit Resource”:   From the dialog that will open: Convert the HorizontalTemplate and the VerticalTemplate to new resources named "HorizontalHeaderTemplate" and...
    March 24, 2011
  • Release

    TimeRulerItems and GroupHeaders in RadScheduleView

    RadControls for WPF, 2011.Q1 The most important controls in RadScheduleView are the GroupHeaders, AppointmentItems and TimeRulerItems. While the AppointmentItems does not vary much RadScheduleView introduces several different uses of the GroupHeaders and TimeRulerItems. Styles Compared to DataTemplates for GroupHeaders and TimeRulerItems The GroupHeaders and TimeRulerItems appearance can be modified through DataTemplates and Styles. The DataTemplate can be changed by editing the GroupHeaderContentTemplateSelector for GroupHeaders and TimeRulerItemTemplateSelector for TimeRulerItems. The DataTemplates can be used to modify the content presentation but modifying the visual appearance of the overall control may be limited. For example you can change the time string formats in both the GroupHeaders...
    March 24, 2011
  • Desktop WPF

    Setting up the RadScheduleView

    RadControls for WPF, 2011.Q1 The attached project will be generated in this blog and will be used in future: DOWNLOAD: RadScheduleView_StartUp.zip This is probably the first post of a series that will guide you through RadScheduleView styling. We will try to use Blend as much as possible for the styling and designing part and VisualStudio 2010 for some of the code that we will need. Setting the References RadScheduleView requires the following references: Telerik.Windows.Controls Telerik.Windows.Data Telerik.Windows.Controls.Input Telerik.Windows.Controls.Navigation Telerik.Windows.Controls.ScheduleView Adding the RadScheduleView in the Design Surface In the MainWindow select the “[grid]” element, find the RadScheduleView in the toolbox and double-click it: Probably the view now does not look...
    March 24, 2011
  • Desktop WPF

    Highlighting Adjacent Points with RadChart for WPF

    There are times when we run into a scenario in which we need point selection on a chart.  Luckily, RadChart for WPF and Silverlight already has this feature - but what if you need to find the closest point to where you selected on a chart?  And what if you have multiple chart series that you are doing this with?  Normally, this would be a bit of a challenge as this involves figuring out where the user clicked, what is around it, etc. Luckily for us, we have charting wizards like Manol Donev on our team and an aggressive release cycle here at Telerik. The...
    February 02, 2011
  • Desktop WPF

    Editing the RadScheduleView's TimeRulerItemTemplateSelector

    RadControls for WPF, 2011.Q1 We will start with the project from the previous post: DOWNLOAD: RadScheduleView_GroupHeaderTemplates.zip And will produce the following project that has its timeruler items modified: DOWNLOAD: RadScheduleView_TimeRulerItemTemplates.zip Using the GroupHeaderContentTemplateSelector you can bind to the resource data. In the time ruler this is not the case. The time ruler items present date information and at this time they can’t be modified through items source property. We will create an inline template selector and discuss some of the TimeRulerItem DataTemplates. Converting the TimeRulerItemTemplateSelector to Local Value Select the RadScheduleView, go to the “Styling” section in the “Properties” tab and click the rectangle near the “TimeRulerItemTemplateSelector” property. Then...
    March 24, 2011
  • Desktop WPF

    Editing the GroupHeaderContentTemplateSelector of RadScheduleView

    RadControls for WPF, 2011.Q1 We will start with the project from the previous post: DOWNLOAD: RadScheduleView_StartUp.zip And will create a project that has one of the GroupHeader templates modified: DOWNLOAD: RadScheduleView_GroupHeaderTemplates.zip Converting the GroupHeaderContentTemplateSelector to Resource Select the RadScheduleView on the Design Surface. Go to the “Styling” property group. Click the small rectangle near the “GroupHeaderContentTemplateSelector” and use the “Convert to New Resource…” option: Name the new resource “GroupHeaderTemplateSelector”: Converting a DataTemplate from the GroupHeaderContentTemplateSelector to Resource Click again the “GroupHeaderTemplateSelector” and “Edit Resource”:   From the dialog that will open: Convert the HorizontalTemplate and the VerticalTemplate to new resources named "HorizontalHeaderTemplate" and...
    March 24, 2011
  • Release

    TimeRulerItems and GroupHeaders in RadScheduleView

    RadControls for WPF, 2011.Q1 The most important controls in RadScheduleView are the GroupHeaders, AppointmentItems and TimeRulerItems. While the AppointmentItems does not vary much RadScheduleView introduces several different uses of the GroupHeaders and TimeRulerItems. Styles Compared to DataTemplates for GroupHeaders and TimeRulerItems The GroupHeaders and TimeRulerItems appearance can be modified through DataTemplates and Styles. The DataTemplate can be changed by editing the GroupHeaderContentTemplateSelector for GroupHeaders and TimeRulerItemTemplateSelector for TimeRulerItems. The DataTemplates can be used to modify the content presentation but modifying the visual appearance of the overall control may be limited. For example you can change the time string formats in both the GroupHeaders...
    March 24, 2011
  • Desktop WPF

    Setting up the RadScheduleView

    RadControls for WPF, 2011.Q1 The attached project will be generated in this blog and will be used in future: DOWNLOAD: RadScheduleView_StartUp.zip This is probably the first post of a series that will guide you through RadScheduleView styling. We will try to use Blend as much as possible for the styling and designing part and VisualStudio 2010 for some of the code that we will need. Setting the References RadScheduleView requires the following references: Telerik.Windows.Controls Telerik.Windows.Data Telerik.Windows.Controls.Input Telerik.Windows.Controls.Navigation Telerik.Windows.Controls.ScheduleView Adding the RadScheduleView in the Design Surface In the MainWindow select the “[grid]” element, find the RadScheduleView in the toolbox and double-click it: Probably the view now does not look...
    March 24, 2011
  • Desktop WPF

    Highlighting Adjacent Points with RadChart for WPF

    There are times when we run into a scenario in which we need point selection on a chart.  Luckily, RadChart for WPF and Silverlight already has this feature - but what if you need to find the closest point to where you selected on a chart?  And what if you have multiple chart series that you are doing this with?  Normally, this would be a bit of a challenge as this involves figuring out where the user clicked, what is around it, etc. Luckily for us, we have charting wizards like Manol Donev on our team and an aggressive release cycle here at Telerik. The...
    February 02, 2011