This question is locked. New answers and comments are not allowed.
Hello
When using RadJumpList with IsCheckModeEnabled="True" and IsCheckModeActive="true"
the checkboxes are displayed, but they are also displayed in front of the GrupHeader, how can I prevent the check boxes to be displayed in front of the groupHeaders?
thanks Ove
When using RadJumpList with IsCheckModeEnabled="True" and IsCheckModeActive="true"
the checkboxes are displayed, but they are also displayed in front of the GrupHeader, how can I prevent the check boxes to be displayed in front of the groupHeaders?
thanks Ove
12 Answers, 1 is accepted
0
Accepted
Hello Ove,
Thanks for writing and for your question.
Currently it is not possible to prevent the checkbox from being shown for a particular item. However, since your requirement brings some valid points, we will consider extending the check-mode behavior with such an option.
I have updated your account with 1000 Telerik points for bringing our attention to this case.
Thanks for your time.
Best wishes,
Deyan
the Telerik team
Thanks for writing and for your question.
Currently it is not possible to prevent the checkbox from being shown for a particular item. However, since your requirement brings some valid points, we will consider extending the check-mode behavior with such an option.
I have updated your account with 1000 Telerik points for bringing our attention to this case.
Thanks for your time.
Best wishes,
Deyan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Ove
Top achievements
Rank 1
answered on 06 Oct 2011, 01:59 PM
Thank You Deyan
/Ove
/Ove
0
Mikael
Top achievements
Rank 1
answered on 18 Feb 2012, 08:28 AM
I was wondering if there has been any updates on this possible feature? The checkboxes look rather clumsy next to the group headers.
0
Hi Mikael,
Yes, there is already a property exposed by RadJumpList which can be used to fine tune this behavior. The property is called RadJumpList.GroupCheckMode and it accepts values defined by the GroupCheckMode enumeration that are as follows:
- Standard - group headers are treated just in the same way as normal visual items when the check mode is active
- Automatic - when a group header is checked/unchecked all of its children are also checked/unchecked
- None - group headers have no checkboxes
Do not hesitate to write back in case you have further questions or need assistance.
Regards,
Deyan
the Telerik team
Yes, there is already a property exposed by RadJumpList which can be used to fine tune this behavior. The property is called RadJumpList.GroupCheckMode and it accepts values defined by the GroupCheckMode enumeration that are as follows:
- Standard - group headers are treated just in the same way as normal visual items when the check mode is active
- Automatic - when a group header is checked/unchecked all of its children are also checked/unchecked
- None - group headers have no checkboxes
Do not hesitate to write back in case you have further questions or need assistance.
Regards,
Deyan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Bernhard König
Top achievements
Rank 2
answered on 15 Mar 2012, 01:24 PM
Ohhh good to know, this Automatic thingy is just what I need and wanted to implement myself ... nice! :)
0
Glenn
Top achievements
Rank 1
answered on 10 Jul 2012, 03:31 PM
Hi Telerik,
Related to this thread...
I have a RadJumpList, with the CheckBox mode enabled for both items and group headers, and also with a sticky header. My RadJumplist defines templates for the data items, group headers, and also the sticky header. My group and sticky header temeplates are defined in line with the look and feel of existing Windows Phone jump lists, in that the header is a square box with the group header key as content.
When the check box mode is activated by the user, the data items, and group header items are shifted to the right to make room for the check boxes, which is fine. However, the sticky header is not shifted to the right, which means that my sticky header is no longer aligned with the group headers.
My sticky header is still at margin 0, whilst my group headers, and items have been shifted to the right by around 12 or 24 pixels. I guess that in the RadJumpList control template, you have the checkbox panel in a grid column, that is set to collapsed until the visual state changes to checkboxenabled or something similar?
Can you provide me with the control template for the RadJumpList so that I can override it, and ensure that the sticky header is also shifted to the right when the check boxes are enabled.
Thanks,
Glenn
Related to this thread...
I have a RadJumpList, with the CheckBox mode enabled for both items and group headers, and also with a sticky header. My RadJumplist defines templates for the data items, group headers, and also the sticky header. My group and sticky header temeplates are defined in line with the look and feel of existing Windows Phone jump lists, in that the header is a square box with the group header key as content.
When the check box mode is activated by the user, the data items, and group header items are shifted to the right to make room for the check boxes, which is fine. However, the sticky header is not shifted to the right, which means that my sticky header is no longer aligned with the group headers.
My sticky header is still at margin 0, whilst my group headers, and items have been shifted to the right by around 12 or 24 pixels. I guess that in the RadJumpList control template, you have the checkbox panel in a grid column, that is set to collapsed until the visual state changes to checkboxenabled or something similar?
Can you provide me with the control template for the RadJumpList so that I can override it, and ensure that the sticky header is also shifted to the right when the check boxes are enabled.
Thanks,
Glenn
0
Lancelot
Top achievements
Rank 1
answered on 10 Jul 2012, 04:40 PM
Hi Glenn,
I have extracted every template for the RadJumpList for you. Below is the entire ControlTemplate and underlying parts templates in a single resources section. You'll be able to get the look you want.
Good Luck
Lancelot
I have extracted every template for the RadJumpList for you. Below is the entire ControlTemplate and underlying parts templates in a single resources section. You'll be able to get the look you want.
Good Luck
Lancelot
<
phone:PhoneApplicationPage.Resources
>
<
Style
x:Key
=
"CheckBoxesIndicatorStyle"
TargetType
=
"Rectangle"
>
<
Setter
Property
=
"Fill"
Value
=
"{StaticResource PhoneAccentBrush}"
/>
</
Style
>
<
Style
x:Key
=
"ExtendedScrollViewerStyle"
TargetType
=
"ScrollViewer"
>
<
Setter
Property
=
"ManipulationMode"
Value
=
"System"
/>
<
Setter
Property
=
"VerticalScrollBarVisibility"
Value
=
"Hidden"
/>
<
Setter
Property
=
"HorizontalScrollBarVisibility"
Value
=
"Disabled"
/>
<
Setter
Property
=
"Background"
Value
=
"Transparent"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"Transparent"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"ScrollViewer"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"ScrollStates"
>
<
VisualStateGroup.Transitions
>
<
VisualTransition
GeneratedDuration
=
"00:00:00.5"
/>
</
VisualStateGroup.Transitions
>
<
VisualState
x:Name
=
"Scrolling"
>
<
Storyboard
>
<
DoubleAnimation
Duration
=
"0"
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"VerticalScrollBar"
/>
<
DoubleAnimation
Duration
=
"0"
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"HorizontalScrollBar"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"NotScrolling"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"VerticalCompression"
>
<
VisualState
x:Name
=
"NoVerticalCompression"
/>
<
VisualState
x:Name
=
"CompressionTop"
/>
<
VisualState
x:Name
=
"CompressionBottom"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"HorizontalCompression"
>
<
VisualState
x:Name
=
"NoHorizontalCompression"
/>
<
VisualState
x:Name
=
"CompressionLeft"
/>
<
VisualState
x:Name
=
"CompressionRight"
/>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
Margin
=
"{TemplateBinding Padding}"
>
<
ScrollContentPresenter
x:Name
=
"ScrollContentPresenter"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
/>
<
ScrollBar
x:Name
=
"VerticalScrollBar"
HorizontalAlignment
=
"Right"
Height
=
"Auto"
IsHitTestVisible
=
"False"
IsTabStop
=
"False"
Maximum
=
"{TemplateBinding ScrollableHeight}"
Minimum
=
"0"
Orientation
=
"Vertical"
Visibility
=
"Collapsed"
Value
=
"{TemplateBinding VerticalOffset}"
ViewportSize
=
"{TemplateBinding ViewportHeight}"
VerticalAlignment
=
"Stretch"
Width
=
"5"
/>
<
ScrollBar
x:Name
=
"HorizontalScrollBar"
HorizontalAlignment
=
"Stretch"
Height
=
"5"
IsHitTestVisible
=
"False"
IsTabStop
=
"False"
Maximum
=
"{TemplateBinding ScrollableWidth}"
Minimum
=
"0"
Orientation
=
"Horizontal"
Visibility
=
"Collapsed"
Value
=
"{TemplateBinding HorizontalOffset}"
ViewportSize
=
"{TemplateBinding ViewportWidth}"
VerticalAlignment
=
"Bottom"
Width
=
"Auto"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"RadJumpListStyle1"
TargetType
=
"telerikData:RadJumpList"
>
<
Setter
Property
=
"ScrollViewer.VerticalScrollBarVisibility"
Value
=
"Auto"
/>
<
Setter
Property
=
"ScrollViewer.HorizontalScrollBarVisibility"
Value
=
"Auto"
/>
<
Setter
Property
=
"Background"
Value
=
"#00ffffff"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"100"
/>
<
Setter
Property
=
"MinWidth"
Value
=
"100"
/>
<
Setter
Property
=
"CheckBoxesIndicatorStyle"
Value
=
"{StaticResource CheckBoxesIndicatorStyle}"
/>
<
Setter
Property
=
"VirtualizationStrategyDefinition"
>
<
Setter.Value
>
<
telerikPrimitives:StackVirtualizationStrategyDefinition
Orientation
=
"Vertical"
/>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"EmptyContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Center"
Text
=
"{Binding}"
VerticalAlignment
=
"Center"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"StickyHeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Border
Background
=
"{StaticResource PhoneAccentBrush}"
HorizontalAlignment
=
"Stretch"
>
<
TextBlock
FontSize
=
"{StaticResource PhoneFontSizeExtraLarge}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiLight}"
HorizontalAlignment
=
"Left"
Text
=
"{Binding}"
VerticalAlignment
=
"Bottom"
/>
</
Border
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"GroupHeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Border
Background
=
"{StaticResource PhoneAccentBrush}"
HorizontalAlignment
=
"Stretch"
>
<
TextBlock
FontSize
=
"{StaticResource PhoneFontSizeExtraLarge}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiLight}"
HorizontalAlignment
=
"Left"
Margin
=
"6"
Text
=
"{Binding}"
VerticalAlignment
=
"Bottom"
/>
</
Border
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"GroupPickerItemTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Border
Background
=
"{StaticResource PhoneAccentBrush}"
HorizontalAlignment
=
"Stretch"
Margin
=
"6"
VerticalAlignment
=
"Stretch"
>
<
TextBlock
FontSize
=
"{StaticResource PhoneFontSizeExtraLarge}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiLight}"
HorizontalAlignment
=
"Left"
Margin
=
"4"
Text
=
"{Binding}"
VerticalAlignment
=
"Stretch"
/>
</
Border
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"GroupPickerOpenAnimation"
>
<
Setter.Value
>
<
telerik:RadTileAnimation
Duration
=
"0:00:.1"
InitialDelay
=
"0:0:.08"
IsTranslationEnabled
=
"False"
InOutAnimationMode
=
"In"
PerspectiveAngleY
=
"0"
PerspectiveAngleX
=
"90"
SequentialMode
=
"FirstToLast"
SequentialItemDelay
=
"0"
/>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"GroupPickerCloseAnimation"
>
<
Setter.Value
>
<
telerik:RadTileAnimation
Duration
=
"0:00:.1"
InitialDelay
=
"0:0:.05"
IsTranslationEnabled
=
"False"
InOutAnimationMode
=
"Out"
PerspectiveAngleY
=
"0"
PerspectiveAngleX
=
"90"
SequentialMode
=
"FirstToLast"
SequentialItemDelay
=
"0"
/>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerikData:RadJumpList"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsHitTestVisible"
Storyboard.TargetName
=
"PART_ManipulationContainer"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"True"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_ItemsPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_VerticalScrollbar"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_EmptyContentPresenter"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"NoData"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsHitTestVisible"
Storyboard.TargetName
=
"PART_ManipulationContainer"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"False"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_ItemsPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_VerticalScrollbar"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_EmptyContentPresenter"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerikPrimitives:RadModalWindow
x:Name
=
"PART_ItemReorderPopup"
Background
=
"Transparent"
IsClosedOnBackButton
=
"True"
IsClosedOnOutsideTap
=
"True"
PlacementTarget
=
"{Binding ., ElementName=LayoutRoot}"
WindowSizeMode
=
"FitToPlacementTarget"
>
<
telerikPrimitives:RadModalWindow.CloseAnimation
>
<
telerik:RadFadeAnimation
EndOpacity
=
"0"
StartOpacity
=
"1"
>
<
telerik:RadFadeAnimation.Easing
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
telerik:RadFadeAnimation.Easing
>
</
telerik:RadFadeAnimation
>
</
telerikPrimitives:RadModalWindow.CloseAnimation
>
<
telerikPrimitives:RadModalWindow.OpenAnimation
>
<
telerik:RadFadeAnimation
EndOpacity
=
"1"
StartOpacity
=
"0"
>
<
telerik:RadFadeAnimation.Easing
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
telerik:RadFadeAnimation.Easing
>
</
telerik:RadFadeAnimation
>
</
telerikPrimitives:RadModalWindow.OpenAnimation
>
<
Canvas
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
>
<
Telerik_Windows_Controls_DataBoundListBox:ItemReorderControl
x:Name
=
"PART_ItemReorderControl"
Style
=
"{TemplateBinding ItemReorderControlStyle}"
/>
</
Canvas
>
</
telerikPrimitives:RadModalWindow
>
<
ScrollViewer
x:Name
=
"PART_ManipulationContainer"
Style
=
"{StaticResource ExtendedScrollViewerStyle}"
>
<
Canvas
x:Name
=
"PART_ScrollableContent"
VerticalAlignment
=
"Top"
>
<
Canvas
x:Name
=
"PART_ItemsPanel"
>
<
Telerik_Windows_Controls_DataBoundListBox:PullToRefreshIndicatorControl
x:Name
=
"PART_PullToRefreshIndicator"
Style
=
"{TemplateBinding PullToRefreshIndicatorStyle}"
Visibility
=
"Collapsed"
/>
<
Rectangle
x:Name
=
"PART_CheckBoxesPressIndicator"
IsHitTestVisible
=
"False"
Opacity
=
"0"
Style
=
"{TemplateBinding CheckBoxesIndicatorStyle}"
Width
=
"24"
Canvas.ZIndex
=
"1"
/>
</
Canvas
>
</
Canvas
>
</
ScrollViewer
>
<
ScrollBar
x:Name
=
"PART_VerticalScrollbar"
HorizontalAlignment
=
"Right"
Opacity
=
"0"
/>
<
ContentPresenter
x:Name
=
"PART_EmptyContentPresenter"
ContentTemplate
=
"{TemplateBinding EmptyContentTemplate}"
Content
=
"{TemplateBinding EmptyContent}"
HorizontalAlignment
=
"Stretch"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Stretch"
/>
<
telerikPrimitives:RadWindow
x:Name
=
"groupPickerWindow"
CloseAnimation
=
"{TemplateBinding GroupPickerCloseAnimation}"
IsFullScreen
=
"True"
OpenAnimation
=
"{TemplateBinding GroupPickerOpenAnimation}"
>
<
Telerik_Windows_Controls_JumpList:JumpListGroupPicker
x:Name
=
"groupPicker"
Background
=
"Transparent"
HorizontalAlignment
=
"Stretch"
ItemsPanel
=
"{TemplateBinding GroupPickerItemsPanel}"
ItemTemplate
=
"{TemplateBinding GroupPickerItemTemplate}"
VerticalAlignment
=
"Stretch"
/>
</
telerikPrimitives:RadWindow
>
<
ContentPresenter
x:Name
=
"PART_StickyHeader"
ContentTemplate
=
"{TemplateBinding StickyHeaderTemplate}"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Top"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"ItemCheckBoxStyle1"
TargetType
=
"telerikPrimitives:ItemCheckBox"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource PhoneRadioCheckBoxBrush}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource PhoneRadioCheckBoxBrush}"
/>
<
Setter
Property
=
"FontSize"
Value
=
"{StaticResource PhoneFontSizeMedium}"
/>
<
Setter
Property
=
"FontFamily"
Value
=
"{StaticResource PhoneFontFamilyNormal}"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerikPrimitives:ItemCheckBox"
>
<
Grid
x:Name
=
"PART_LayoutRoot"
Background
=
"Transparent"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
/>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxPressedBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxPressedBorderBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"CheckMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxCheckBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IndeterminateMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxCheckBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Disabled"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"CheckMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxCheckDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IndeterminateMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxCheckDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"CheckStates"
>
<
VisualState
x:Name
=
"Checked"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CheckMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Unchecked"
/>
<
VisualState
x:Name
=
"Indeterminate"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"IndeterminateMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
x:Name
=
"CheckBox"
>
<
Border
x:Name
=
"CheckBackground"
BorderBrush
=
"{TemplateBinding Background}"
BorderThickness
=
"{StaticResource PhoneBorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Left"
Height
=
"32"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Center"
Width
=
"32"
/>
<
Rectangle
x:Name
=
"IndeterminateMark"
Fill
=
"{StaticResource PhoneRadioCheckBoxCheckBrush}"
HorizontalAlignment
=
"Center"
Height
=
"16"
IsHitTestVisible
=
"False"
Grid.Row
=
"0"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
Width
=
"16"
/>
<
Path
x:Name
=
"CheckMark"
Data
=
"M0,119 L31,92 L119,185 L267,0 L300,24 L122,250 z"
Fill
=
"{StaticResource PhoneRadioCheckBoxCheckBrush}"
HorizontalAlignment
=
"Center"
Height
=
"18"
IsHitTestVisible
=
"False"
Stretch
=
"Fill"
StrokeThickness
=
"2"
StrokeLineJoin
=
"Round"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
Width
=
"24"
/>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"RadDataBoundListBoxItemStyle1"
TargetType
=
"telerikPrimitives:RadDataBoundListBoxItem"
>
<
Setter
Property
=
"Background"
Value
=
"Transparent"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"Transparent"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"CacheMode"
Value
=
"BitmapCache"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerikPrimitives:RadDataBoundListBoxItem"
>
<
Border
x:Name
=
"LayoutRoot"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"{TemplateBinding HorizontalAlignment}"
RenderTransformOrigin
=
"0.5, 0.5"
VerticalAlignment
=
"{TemplateBinding VerticalAlignment}"
>
<
Border.RenderTransform
>
<
ScaleTransform
x:Name
=
"RootScale"
/>
</
Border.RenderTransform
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
/>
<
VisualState
x:Name
=
"Disabled"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"LayoutRoot"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource TransparentBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
Duration
=
"0"
To
=
".5"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_ContainerHolder"
/>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneAccentBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"CheckBoxStates"
>
<
VisualState
x:Name
=
"CheckBoxNotVisibleVertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"CheckBoxNotVisibleHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"CheckBoxNotVisibleVerticalSpace"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>24, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"CheckBoxNotVisibleHorizontalSpace"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 24, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"CheckBoxVisibleVertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>24, 0, 24, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"CheckBoxVisibleHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 24, 0, 24</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"CheckBoxVisibleOverlay"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_CheckBoxLayout"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Margin"
Storyboard.TargetName
=
"PART_ContainerHolder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>0, 0, 0, 0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"ItemReorderStates"
>
<
VisualState
x:Name
=
"ItemNotOrdered"
>
<
Storyboard
>
<
DoubleAnimation
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"LayoutRoot"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
<
DoubleAnimation
To
=
"1"
Storyboard.TargetProperty
=
"ScaleX"
Storyboard.TargetName
=
"RootScale"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
<
DoubleAnimation
To
=
"1"
Storyboard.TargetProperty
=
"ScaleY"
Storyboard.TargetName
=
"RootScale"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"ItemOrdered"
>
<
Storyboard
Duration
=
"0:0:1"
>
<
DoubleAnimation
To
=
"0.45"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"LayoutRoot"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
<
DoubleAnimation
To
=
"0.92"
Storyboard.TargetProperty
=
"ScaleX"
Storyboard.TargetName
=
"RootScale"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
<
DoubleAnimation
To
=
"0.92"
Storyboard.TargetProperty
=
"ScaleY"
Storyboard.TargetName
=
"RootScale"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
x:Name
=
"PART_ContainerCheckBoxLayout"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
ContentControl
x:Name
=
"PART_ContainerHolder"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
Grid.Column
=
"1"
HorizontalAlignment
=
"Stretch"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"Stretch"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
<
Grid
x:Name
=
"PART_CheckBoxLayout"
Grid.Column
=
"0"
Visibility
=
"Collapsed"
>
<
telerikPrimitives:ItemCheckBox
x:Name
=
"PART_CheckBox"
IsHitTestVisible
=
"False"
/>
</
Grid
>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"PullToRefreshIndicatorControlStyle1"
TargetType
=
"Telerik_Windows_Controls_DataBoundListBox:PullToRefreshIndicatorControl"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"Telerik_Windows_Controls_DataBoundListBox:PullToRefreshIndicatorControl"
>
<
Border
x:Name
=
"PART_LayoutRoot"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
RenderTransformOrigin
=
"1, 0"
>
<
Border.RenderTransform
>
<
RotateTransform
x:Name
=
"Rotation"
/>
</
Border.RenderTransform
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"DefaultStates"
>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_Indicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_RefreshTimeLabel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsRunning"
Storyboard.TargetName
=
"BusyIndicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>False</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
Duration
=
"0:0:0.5"
To
=
"0"
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"IndicatorRotate"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"RefreshStarting"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_Indicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_RefreshTimeLabel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsRunning"
Storyboard.TargetName
=
"BusyIndicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>False</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
Duration
=
"0:0:0.5"
To
=
"-180"
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"IndicatorRotate"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Refreshing"
>
<
Storyboard
>
<
DoubleAnimation
Duration
=
"0:0:0.5"
To
=
"0"
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"IndicatorRotate"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_Indicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_RefreshTimeLabel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsRunning"
Storyboard.TargetName
=
"BusyIndicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>True</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Vertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"Rotation"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"Rotation"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"-90"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
x:Name
=
"NormalLayout"
Margin
=
"{StaticResource PhoneHorizontalMargin}"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
ContentPresenter
x:Name
=
"PART_Indicator"
Margin
=
"{StaticResource PhoneMargin}"
RenderTransformOrigin
=
"0.5, 0.5"
>
<
ContentPresenter.ContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
Path
Data
=
"F1M69,689.3457L81.369,699.0007L86.128,695.3747L63,677.9087L63,712.9997L69,708.7457z"
Fill
=
"{StaticResource PhoneSubtleBrush}"
HorizontalAlignment
=
"Left"
Height
=
"35.091"
Margin
=
"16,3.334,0,0"
Opacity
=
"0.33000200986862183"
RenderTransformOrigin
=
"0.5,0.5"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"23.128"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"90"
TranslateX
=
"-5.706"
TranslateY
=
"10.294"
/>
</
Path.RenderTransform
>
</
Path
>
<
Path
Data
=
"F1M85.5693,707.2471L72.0003,717.5881L72.0003,697.0001z"
Fill
=
"{StaticResource PhoneForegroundBrush}"
HorizontalAlignment
=
"Left"
Height
=
"20.588"
Margin
=
"25,22.425,0,0"
RenderTransformOrigin
=
"0.5,0.5"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"13.569"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"90"
TranslateX
=
"-21.765"
TranslateY
=
"2.675"
/>
</
Path.RenderTransform
>
</
Path
>
<
Path
Data
=
"F1M47,699C47,700.1,47.9,701,49,701L60,701L60,691L49,691C47.9,691,47,691.9,47,693z"
Fill
=
"{StaticResource PhoneSubtleBrush}"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"0,16.425,0,0"
Opacity
=
"0.33000200986862183"
RenderTransformOrigin
=
"0.5,0.5"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"13"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"90"
TranslateX
=
"14.812"
TranslateY
=
"-11.316"
/>
</
Path.RenderTransform
>
</
Path
>
</
Grid
>
</
DataTemplate
>
</
ContentPresenter.ContentTemplate
>
<
ContentPresenter.RenderTransform
>
<
RotateTransform
x:Name
=
"IndicatorRotate"
Angle
=
"0"
/>
</
ContentPresenter.RenderTransform
>
</
ContentPresenter
>
<
telerikPrimitives:RadBusyIndicator
x:Name
=
"BusyIndicator"
AnimationStyle
=
"AnimationStyle7"
ContentPosition
=
"Right"
Content
=
"{x:Null}"
Foreground
=
"{StaticResource PhoneForegroundBrush}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Top"
/>
<
StackPanel
Grid.Column
=
"1"
Margin
=
"30, 0, 0, 0"
Orientation
=
"Vertical"
VerticalAlignment
=
"Center"
>
<
TextBlock
x:Name
=
"PART_RefreshInfoLabel"
FontSize
=
"{StaticResource PhoneFontSizeMediumLarge}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiLight}"
/>
<
TextBlock
x:Name
=
"PART_RefreshTimeLabel"
Foreground
=
"{StaticResource PhoneSubtleBrush}"
FontSize
=
"{StaticResource PhoneFontSizeSmall}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiBold}"
/>
</
StackPanel
>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
phone:PhoneApplicationPage.Resources
>
0
Chris
Top achievements
Rank 1
answered on 29 Jun 2013, 07:43 AM
Hi there,
I am trying to change the "CheckBoxStyle" for the RadJumpList (Windows Phone 8) however the template above isnt working.
Are you able to add the Windows Phone 8 version of the template?
Thanks!
-Chris.
I am trying to change the "CheckBoxStyle" for the RadJumpList (Windows Phone 8) however the template above isnt working.
Are you able to add the Windows Phone 8 version of the template?
Thanks!
-Chris.
0
Hi Chris,
You can easily extract the default check box style from Visual Studio's designer or Microsoft Expression Blend by right clicking on the JumpList control and choosing Edit Additional Templates in the context menu that opens.
I am pasting the default style for you here:
Hope this helps.
Regards,
Deyan
the Telerik team
You can easily extract the default check box style from Visual Studio's designer or Microsoft Expression Blend by right clicking on the JumpList control and choosing Edit Additional Templates in the context menu that opens.
I am pasting the default style for you here:
<
Style
x:Key
=
"ItemCheckBoxStyle1"
TargetType
=
"telerikPrimitives:ItemCheckBox"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource PhoneRadioCheckBoxBrush}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource PhoneRadioCheckBoxBorderBrush}"
/>
<
Setter
Property
=
"FontSize"
Value
=
"{StaticResource PhoneFontSizeMedium}"
/>
<
Setter
Property
=
"FontFamily"
Value
=
"{StaticResource PhoneFontFamilyNormal}"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerikPrimitives:ItemCheckBox"
>
<
Grid
Background
=
"Transparent"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
/>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneRadioCheckBoxPressedBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"CheckMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneButtonBasePressedForegroundBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IndeterminateMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneButtonBasePressedForegroundBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Disabled"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"CheckMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IndeterminateMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"{StaticResource PhoneDisabledBrush}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"CheckStates"
>
<
VisualState
x:Name
=
"Checked"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CheckMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Unchecked"
/>
<
VisualState
x:Name
=
"Indeterminate"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"IndeterminateMark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
x:Name
=
"CheckBox"
>
<
Border
x:Name
=
"CheckBackground"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{StaticResource PhoneBorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Left"
Height
=
"32"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Center"
Width
=
"32"
/>
<
Rectangle
x:Name
=
"IndeterminateMark"
Fill
=
"{StaticResource PhoneRadioCheckBoxCheckBrush}"
HorizontalAlignment
=
"Center"
Height
=
"16"
IsHitTestVisible
=
"False"
Grid.Row
=
"0"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
Width
=
"16"
/>
<
Path
x:Name
=
"CheckMark"
Data
=
"M0,119 L31,92 L119,185 L267,0 L300,24 L122,250 z"
Fill
=
"{StaticResource PhoneRadioCheckBoxCheckBrush}"
HorizontalAlignment
=
"Center"
Height
=
"18"
IsHitTestVisible
=
"False"
Stretch
=
"Fill"
StrokeThickness
=
"2"
StrokeLineJoin
=
"Round"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
Width
=
"24"
/>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Hope this helps.
Regards,
Deyan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Chris
Top achievements
Rank 1
answered on 14 Jul 2013, 11:15 PM
Thanks!
0
Vitalii
Top achievements
Rank 2
answered on 21 Oct 2013, 08:25 PM
Can you, please, provide PullToRefreshIndicatorControlStyle?
I have a white background, but i dont see indicator itself, only progress bar.
After trying to extract style, i got
<Style x:Key="PullToRefreshIndicatorControlStyle1" TargetType="DataBoundListBox:PullToRefreshIndicatorControl">
<Setter Property="RefreshTimeLabelFormat" Value="last refresh time: {0:H:mm}"/>
</Style>
Ah, found it in your list.
I have a white background, but i dont see indicator itself, only progress bar.
After trying to extract style, i got
<Style x:Key="PullToRefreshIndicatorControlStyle1" TargetType="DataBoundListBox:PullToRefreshIndicatorControl">
<Setter Property="RefreshTimeLabelFormat" Value="last refresh time: {0:H:mm}"/>
</Style>
Ah, found it in your list.
<
Style
x:Key
=
"PullToRefreshIndicatorControlStyle1"
TargetType
=
"Telerik_Windows_Controls_DataBoundListBox:PullToRefreshIndicatorControl"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"Telerik_Windows_Controls_DataBoundListBox:PullToRefreshIndicatorControl"
>
<
Border
x:Name
=
"PART_LayoutRoot"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
RenderTransformOrigin
=
"1, 0"
>
<
Border.RenderTransform
>
<
RotateTransform
x:Name
=
"Rotation"
/>
</
Border.RenderTransform
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"DefaultStates"
>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_Indicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_RefreshTimeLabel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsRunning"
Storyboard.TargetName
=
"BusyIndicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>False</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
Duration
=
"0:0:0.5"
To
=
"0"
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"IndicatorRotate"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"RefreshStarting"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_Indicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_RefreshTimeLabel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Visible"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsRunning"
Storyboard.TargetName
=
"BusyIndicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>False</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
Duration
=
"0:0:0.5"
To
=
"-180"
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"IndicatorRotate"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Refreshing"
>
<
Storyboard
>
<
DoubleAnimation
Duration
=
"0:0:0.5"
To
=
"0"
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"IndicatorRotate"
>
<
DoubleAnimation.EasingFunction
>
<
CubicEase
EasingMode
=
"EaseOut"
/>
</
DoubleAnimation.EasingFunction
>
</
DoubleAnimation
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_Indicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"PART_RefreshTimeLabel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"Collapsed"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"IsRunning"
Storyboard.TargetName
=
"BusyIndicator"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>True</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Vertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"Rotation"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Angle"
Storyboard.TargetName
=
"Rotation"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
Value
=
"-90"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
x:Name
=
"NormalLayout"
Margin
=
"{StaticResource PhoneHorizontalMargin}"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
ContentPresenter
x:Name
=
"PART_Indicator"
Margin
=
"{StaticResource PhoneMargin}"
RenderTransformOrigin
=
"0.5, 0.5"
>
<
ContentPresenter.ContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
Path
Data
=
"F1M69,689.3457L81.369,699.0007L86.128,695.3747L63,677.9087L63,712.9997L69,708.7457z"
Fill
=
"{StaticResource PhoneSubtleBrush}"
HorizontalAlignment
=
"Left"
Height
=
"35.091"
Margin
=
"16,3.334,0,0"
Opacity
=
"0.33000200986862183"
RenderTransformOrigin
=
"0.5,0.5"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"23.128"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"90"
TranslateX
=
"-5.706"
TranslateY
=
"10.294"
/>
</
Path.RenderTransform
>
</
Path
>
<
Path
Data
=
"F1M85.5693,707.2471L72.0003,717.5881L72.0003,697.0001z"
Fill
=
"{StaticResource PhoneForegroundBrush}"
HorizontalAlignment
=
"Left"
Height
=
"20.588"
Margin
=
"25,22.425,0,0"
RenderTransformOrigin
=
"0.5,0.5"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"13.569"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"90"
TranslateX
=
"-21.765"
TranslateY
=
"2.675"
/>
</
Path.RenderTransform
>
</
Path
>
<
Path
Data
=
"F1M47,699C47,700.1,47.9,701,49,701L60,701L60,691L49,691C47.9,691,47,691.9,47,693z"
Fill
=
"{StaticResource PhoneSubtleBrush}"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"0,16.425,0,0"
Opacity
=
"0.33000200986862183"
RenderTransformOrigin
=
"0.5,0.5"
Stretch
=
"Fill"
UseLayoutRounding
=
"False"
VerticalAlignment
=
"Top"
Width
=
"13"
>
<
Path.RenderTransform
>
<
CompositeTransform
Rotation
=
"90"
TranslateX
=
"14.812"
TranslateY
=
"-11.316"
/>
</
Path.RenderTransform
>
</
Path
>
</
Grid
>
</
DataTemplate
>
</
ContentPresenter.ContentTemplate
>
<
ContentPresenter.RenderTransform
>
<
RotateTransform
x:Name
=
"IndicatorRotate"
Angle
=
"0"
/>
</
ContentPresenter.RenderTransform
>
</
ContentPresenter
>
<
telerikPrimitives:RadBusyIndicator
x:Name
=
"BusyIndicator"
AnimationStyle
=
"AnimationStyle7"
ContentPosition
=
"Right"
Content
=
"{x:Null}"
Foreground="{StaticResource
PhoneForegroundBrush}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Top"
/>
<
StackPanel
Grid.Column
=
"1"
Margin
=
"30, 0, 0, 0"
Orientation
=
"Vertical"
VerticalAlignment
=
"Center"
>
<
TextBlock
x:Name
=
"PART_RefreshInfoLabel"
FontSize
=
"{StaticResource PhoneFontSizeMediumLarge}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiLight}"
/>
<
TextBlock
x:Name
=
"PART_RefreshTimeLabel"
Foreground
=
"{StaticResource PhoneSubtleBrush}"
FontSize
=
"{StaticResource PhoneFontSizeSmall}"
FontFamily
=
"{StaticResource PhoneFontFamilySemiBold}"
/>
</
StackPanel
>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
0
Hello Vitalii,
Since you found the style, we'll consider this thread closed now.
You can always write back if you need further assistance.
Regards,
Todor
Telerik
Since you found the style, we'll consider this thread closed now.
You can always write back if you need further assistance.
Regards,
Todor
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>