• .NET

    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
  • .NET

    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
  • .NET

    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
  • .NET

    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
  • .NET

    RadDataForm and RadGridView integration - popup editing.

      Often collection data is better presented in a tabular view and better edited in a form view. Such UX approach is referred by our clients as “Popup editing in RadGridView”. With the help of the new RadDataForm and the good old RadGridView a few lines of code are needed to accomplish this.