or
We use the RadChart in a DataTemplate.
We would like to show the hand-cursor when moving over the chart.
<Controls1:RadChart Cursor ="Hand" mapinfo:MapLayer.Location="{Binding Location}" Visibility="{Binding Hide, Converter={StaticResource BoolToCollapsedConverter}}" Width="32" Height="32" Background="Transparent" BorderBrush="Transparent" Name="pin" Content="{Binding GebyrChart}" >
But… the hand shows only when the mouse points to the border/side area of the chart. When moving to the middle, over the (pie) chart the cursor changes to the default arrow.
We have a PopUpMenu popping up on right-click. This does not work when the mouse is in the center of the chart.
<
telerik:RadToggleButton
Content
=
"Switch View"
Width
=
"90"
Grid.Row
=
"0"
HorizontalAlignment
=
"Left"
IsChecked
=
"{Binding Path=AlternitiveViewActive }"
Checked
=
"ToggleButton_Checked"
Unchecked
=
"RadToggleButton_Unchecked"
/>
<
Grid
Grid.Row
=
"1"
Name
=
"gridUnTabbed"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadTabControl
Grid.Column
=
"0"
>
<
telerik:RadTabItem
Header
=
"Exception"
>
<
ScrollViewer
>
<
TextBox
Name
=
"txtException2"
TextWrapping
=
"WrapWithOverflow"
/>
</
ScrollViewer
>
</
telerik:RadTabItem
>
</
telerik:RadTabControl
>
<
GridSplitter
Grid.Column
=
"1"
Name
=
"tabSplitter"
Width
=
"4"
ResizeBehavior
=
"PreviousAndNext"
Background
=
"Gray"
HorizontalAlignment
=
"Stretch"
/>
<
telerik:RadTabControl
Grid.Column
=
"2"
>
<
telerik:RadTabItem
Header
=
"StackTrace"
>
<
ScrollViewer
>
<
TextBox
Name
=
"txtStackTrace2"
TextWrapping
=
"WrapWithOverflow"
/>
</
ScrollViewer
>
</
telerik:RadTabItem
>
</
telerik:RadTabControl
>
</
Grid
>
<
common:MetrixScheduleViewGroupHeaderSelector.HorizontalDayViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"4"
Text
=
"{Binding Name, StringFormat=dd dddd}"
/>
</
DataTemplate
>
</
common:MetrixScheduleViewGroupHeaderSelector.HorizontalDayViewDateTemplate
>
RadItemsControl itemsControl =
this
.gridView.ItemsControl;
this
.currentDropIndex = itemsControl.Records.IndexOf(row.Record);
this
.currentDropIndex = gridView.Items.IndexOf(row.Item);
xmlns:tl="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"