Hi,
I am trying to add a button to the template of a RadChart MarkedZone, see code below:
The button (and TextBlock) shows up fine but are unable to be clicked by the User (no Hand Cursor either)
I assume this is because there is another UI element sitting over the top of it?
Is there any other way to do this to allow the button to be clicked?
Thanks,
Chris
I am trying to add a button to the template of a RadChart MarkedZone, see code below:
<telerikCharting:MarkedZone x:Name="MarkedZone" StartX="1.5" EndX="4.5" Background="#7ED3D3D3" StrokeThickness="1" Stroke="Gray" > <telerikCharting:MarkedZone.Template> <ControlTemplate TargetType="telerikCharting:MarkedZone" > <Border x:Name="MarkedZoneBorder" Margin="{TemplateBinding ElementMargin}" BorderBrush="Gray" BorderThickness="1" Background="{TemplateBinding Background}"> <Grid x:Name="MarkedZoneBorderGrid"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBlock Margin="10" Text="Culture Cycle Members" /> <Button Grid.Column="1" Margin="10" Cursor="Hand" Command="{Binding DoSomething}" /> </Grid> </Border> </ControlTemplate> </telerikCharting:MarkedZone.Template> </telerikCharting:MarkedZone>
The button (and TextBlock) shows up fine but are unable to be clicked by the User (no Hand Cursor either)
I assume this is because there is another UI element sitting over the top of it?
Is there any other way to do this to allow the button to be clicked?
Thanks,
Chris