or
lineSeries.Definition.Appearance.Stroke = new SolidColorBrush(Colors.Blue); lineSeries.Definition.Appearance.Fill = new SolidColorBrush(Colors.Blue);
MarkedZone bgZone = new MarkedZone(); bgZone.Background = new SolidColorBrush(Colors.Aqua); this.radChart1.DefaultView.ChartArea.Annotations.Clear(); this.radChart1.DefaultView.ChartArea.Annotations.Add(bgZone); This does not work for the 3D chart! How would I make this work for the 3D chart or is it even possible. Thanks, James
<
Controls:RadCalendar
x:Name
=
"TommedatoKalender"
Rows
=
"3"
Columns
=
"4"
SelectionMode
=
"Extended"
ViewsHeaderVisibility
=
"Visible"
DisplayDate
=
"{Binding DisplayDate}"
>
<
Controls:RadCalendar.DayTemplateSelector
>
<
selector:KalenderDagSelector
>
<
selector:KalenderDagSelector.DefaultTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Text}"
Height
=
"18"
Width
=
"18"
TextAlignment
=
"Center"
/>
</
DataTemplate
>
</
selector:KalenderDagSelector.DefaultTemplate
>
<
selector:KalenderDagSelector.TommeDagTemplate
>
<
DataTemplate
>
<
Border
BorderThickness
=
"1"
BorderBrush
=
"{DynamicResource HighlightDayColor}"
CornerRadius
=
"12"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
Background
=
"{DynamicResource HighlightDayColor}"
>
<
Grid
>
<!-- Rounded mask (stretches to fill Grid) -->
<
Border
Name
=
"mask"
Background
=
"{DynamicResource HighlightDayColor}"
CornerRadius
=
"7"
/>
<!-- Main content container -->
<
StackPanel
>
<!-- Use a VisualBrush of 'mask' as the opacity mask -->
<
StackPanel.OpacityMask
>
<
VisualBrush
Visual
=
"{Binding ElementName=mask}"
/>
</
StackPanel.OpacityMask
>
<!-- Content -->
<
TextBlock
Text
=
"{Binding Text}"
Background
=
"{DynamicResource HighlightDayColor}"
Height
=
"18"
Width
=
"18"
TextAlignment
=
"Center"
/>
</
StackPanel
>
</
Grid
>
</
Border
>
</
DataTemplate
>
</
selector:KalenderDagSelector.TommeDagTemplate
>
</
selector:KalenderDagSelector
>
</
Controls:RadCalendar.DayTemplateSelector
>
</
Controls:RadCalendar
>
<styleSelectors:ConditionalStyleSelector.Level1Style>
<Style TargetType="telerik:TreeListViewRow">
<Setter Property="Background" Value="#6699FF" />
<Setter Property="IsExpanded" Value="{Binding Path=IsExpandedLevel1, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}, Mode=TwoWay}" />
</Style>
</styleSelectors:ConditionalStyleSelector.Level1Style>
<Setter Property="IsExpanded" Value="{Binding Path=IsExpandedLevel1, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}, Mode=OneWay}" />
<
Style
x:Key
=
"zoneStyle"
TargetType
=
"telerik:MapPolygon"
>
<
Style.Triggers
>
<
Trigger
Property
=
"IsMouseOver"
Value
=
"True"
>
<
Setter
Property
=
"Effect"
>
<
Setter.Value
>
<
DropShadowEffect
ShadowDepth
=
"3"
BlurRadius
=
"3"
Color
=
"Purple"
/>
</
Setter.Value
>
</
Setter
>
</
Trigger
>
</
Style.Triggers
>
</
Style
>