Posted 09 Aug 2011 Link to this post
Posted 10 Aug 2011 Link to this post
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
<
Style
x:Key
=
"ColorWheelIndicatorAnimation"
TargetType
"telerikPrimitivesBusyIndicator:BusyIndicatorAnimation"
>
Setter
Property
"Template"
Setter.Value
ControlTemplate
Grid
VerticalAlignment
"Center"
x:Name
"PART_LayoutRoot"
Grid.Resources
Storyboard
"PART_Animation"
DoubleAnimation
From
"0"
To
"359"
Duration
"0:0:1"
RepeatBehavior
"Forever"
Storyboard.TargetName
"LoadingVisualAngleTransform"
Storyboard.TargetProperty
"Angle"
/>
</
Grid.RowDefinitions
RowDefinition
Width
"45"
Height
Grid.Row
"LoadingVisual"
RenderTransformOrigin
"0.5,0.5"
HorizontalAlignment
Grid.RenderTransform
TransformGroup
RotateTransform
Angle
CenterX
"0.5"
CenterY
Path
Stretch
"Fill"
Stroke
"#00BDD2"
StrokeThickness
"5"
StrokeStartLineCap
"Round"
Data
"M1,0 A1,1,90,1,1,0,-1"
Margin
"0,-5,0,0"
"Top"
"10"
"15"
Fill
"M0,-1.1 L0.1,-1 L0,-0.9"
"1"
telerikPrimitives:RadBusyIndicator
"ProgressIndicator"
Grid.Column
IndicatorAnimationStyle
"{StaticResource ColorWheelIndicatorAnimation}"
Foreground
"{StaticResource PhoneForegroundBrush}"
Visibility
"Collapsed"
HorizontalContentAlignment
Posted 11 Aug 2011 Link to this post
this
.radBusyIndicator1.IndicatorAnimationStyle =
.LayoutRoot.Resources[
"MyCustomAnimation"
]
as
Style;