C# Class Microsoft.Phone.Controls.SlideInEffect

Provides attached properties to make FrameworkElements inside PivotItems responsive to SelectionChanged events by Pivots. The result is a 'slide in' effect added to the selected elements.
Inheritance: System.Windows.DependencyObject
Mostra file Open project: Kinnara/WPToolkit Class Usage Examples

Public Properties

Property Type Description
LineIndexProperty System.Windows.DependencyProperty

Private Methods

Method Description
AttachTransform ( FrameworkElement element ) : void

Attach the translate transform that is used for the slide in effect to a framework element.

ComposeStoryboard ( FrameworkElement element, bool leftToRight, System.Windows.Media.Animation.Storyboard &storyboard ) : void

Adds an animation corresponding to an specific framework element. Thus, the storyboard can be composed piece by piece.

GetAttachedTransform ( DependencyObject obj ) : TranslateTransform

Gets the attached transform of the specified dependency object.

GetHasEventsAttached ( DependencyObject obj ) : bool

Gets whether the specified dependency object has events attached to it or not.

GetIsSubscribed ( DependencyObject obj ) : bool

Gets whether the specified dependency object is subscribed to the private managers or not.

GetLineIndex ( DependencyObject obj ) : int
GetParentPivot ( DependencyObject obj ) : Pivot

Gets the parent pivot of the specified dependency object.

GetParentPivotItem ( DependencyObject obj ) : PivotItem

Gets the parent pivot item of the specified dependency object.

IsOnScreen ( FrameworkElement element ) : bool

Indicates whether the specified framework element is within the bounds of the application's root visual.

OnLineIndexPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Modify the subscription of the dependency object to the private managers based on the line index value.

OnParentPivotItemPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Manages subscription to a pivot item.

OnParentPivotPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Manages subscription to a pivot.

Pivot_ManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void

Animates the corresponding elements.

Pivot_ManipulationStarted ( object sender, System.Windows.Input.ManipulationStartedEventArgs e ) : void

Sets a flag indicating that a ManipulationStarted event ocurred.

Pivot_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Sets a flag indicating that a SelectionChanged event ocurred.

SetAttachedTransform ( DependencyObject obj, TranslateTransform value ) : void

Sets the attached transform of the specified dependency object.

SetHasEventsAttached ( DependencyObject obj, bool value ) : void

Sets whether the specified dependency object has events attached to it or not.

SetIsSubscribed ( DependencyObject obj, bool value ) : void

Sets whether the specified dependency object is subscribed to the private managers or not.

SetLineIndex ( DependencyObject obj, int value ) : void
SetParentPivot ( DependencyObject obj, Pivot value ) : void

Sets the parent pivot of the specified dependency object.

SetParentPivotItem ( DependencyObject obj, PivotItem value ) : void

Sets the parent pivot item of the specified dependency object.

SubscribeFrameworkElement ( FrameworkElement target ) : void

Subscribes an element to the private managers.

Target_Loaded ( object sender, RoutedEventArgs e ) : void

Called when an element gets loaded.

Target_Unloaded ( object sender, RoutedEventArgs e ) : void

Called when an element gets unloaded.

UnsubscribeFrameworkElement ( FrameworkElement target ) : void

Unsubscribes an element from the private managers.

Property Details

LineIndexProperty public_oe static_oe property

Identifies the line index of the current element, which is proportional to its initial offset before sliding in.
public static DependencyProperty,System.Windows LineIndexProperty
return System.Windows.DependencyProperty