As we have seen Telerik Image Editor,It is working same as we required,but we want two additional functionalites in it.
1:- We want to record the changes that we have performed on a particular image so that we can save these steps to regenerate image .
2:- We want Image layering functionlity,So that we can add a layer(Background Image and Frame on our original Image) and also want to change position of my original Image.
Please have a look of attached image
<telerik:RadWindow.Resources>
<ResourceDictionary>
<ControlTemplate x:Key="FocusTemplate" >
<Rectangle Margin="-3" Stroke="Orange" StrokeThickness="2" RadiusX="2" RadiusY="2" StrokeDashArray="2,1">
<Rectangle.Triggers>
<EventTrigger RoutedEvent="Rectangle.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation To="3" Duration="0:0:1" RepeatBehavior="Forever" Storyboard.TargetProperty="StrokeDashOffset" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Rectangle.Triggers>
</Rectangle>
</ControlTemplate>
<Style x:Key="FocusStyle" TargetType="{x:Type Control}">
<Setter Property="Template" Value="{StaticResource FocusTemplate}"/>
</Style>
<Style TargetType="TextBox">
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
</Style>
<Style TargetType="telerik:RadDatePicker">
<Setter Property="FocusVisualStyle" Value="{StaticResource FocusStyle}"/>
</Style>
<helper:BoolToVisibility x:Key="boolToVisibility" />
<helper:BoolToVisibilityInverter x:Key="boolToVisibilityInverter" />
<helper:BoolInverter x:Key="boolInverter" />
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="BillingDetails-Fr-Res.xaml"/>
<ResourceDictionary Source="pack://application:,,,/Resources;component/Neuron-CustomStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</telerik:RadWindow.Resources>
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}" />