Hi,
I would like to rise an event when a user click on a TextBlock located in the group header of my ScheduleView. Here is my XAML :
<telerik:RadScheduleView.GroupHeaderContentTemplate>
<DataTemplate>
<TextBlock Text="{Binding FormattedName}" Grid.Column="1" FontWeight="Bold" Width="100" HorizontalAlignment="Left" VerticalAlignment="Center">
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseUp">
<commands:EventToCommand Command="{Binding TestCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</TextBlock>
</DataTemplate>
</telerik:RadScheduleView.GroupHeaderContentTemplate>
Nothing happen, and the TestCommand is never called in my ViewModel, could you tell me if this is possible, and if yes how to fire this event ? I tried other events than MouseUp and the result is the same.
Thanks for your help,
Doots
I would like to rise an event when a user click on a TextBlock located in the group header of my ScheduleView. Here is my XAML :
<telerik:RadScheduleView.GroupHeaderContentTemplate>
<DataTemplate>
<TextBlock Text="{Binding FormattedName}" Grid.Column="1" FontWeight="Bold" Width="100" HorizontalAlignment="Left" VerticalAlignment="Center">
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseUp">
<commands:EventToCommand Command="{Binding TestCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</TextBlock>
</DataTemplate>
</telerik:RadScheduleView.GroupHeaderContentTemplate>
Nothing happen, and the TestCommand is never called in my ViewModel, could you tell me if this is possible, and if yes how to fire this event ? I tried other events than MouseUp and the result is the same.
Thanks for your help,
Doots