C# Class Microsoft.Phone.Controls.Primitives.LoopingSelector

Inheritance: System.Windows.Controls.Control
Show file Open project: Kinnara/WPToolkit Class Usage Examples

Public Properties

Property Type Description
DataSourceProperty System.Windows.DependencyProperty
IsExpandedProperty System.Windows.DependencyProperty
ItemTemplateProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
AnimatePanel void
AnimationPerFrameCallback void
Balance void
Brake void
CreateAndAddItem LoopingSelectorItem
CreateEventHandlers void
CreateVisuals void
GetClosestItem int
GetFirstItem LoopingSelectorItem
GetLastItem LoopingSelectorItem
LoopingSelector_MouseLeftButtonDown void
LoopingSelector_MouseLeftButtonUp void
OnDataSourceChanged void
OnDataSourceSelectionChanged void
OnIsExpandedChanged void
OnItemTemplateChanged void
OnManipulationCompleted void
OnManipulationDelta void
OnManipulationStarted void
OnSizeChanged void
OnTap void
OnWrapperClick void
PanelStoryboardCompleted void
SelectAndSnapTo void
SelectAndSnapToClosest void
StopAnimation void
UpdateData void
UpdateItemState void
UpdateItemTemplates void

Public Methods

Method Description
LoopingSelector ( ) : System

Creates a new LoopingSelector.

OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:FrameworkElement.ApplyTemplate(). In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Private Methods

Method Description
AnimatePanel ( Duration duration, IEasingFunction ease, double to ) : void
AnimationPerFrameCallback ( object sender, EventArgs e ) : void
Balance ( ) : void

Balances the items.

Brake ( double newStoppingPoint ) : void
CreateAndAddItem ( System.Windows.Controls.Panel parent, object content ) : LoopingSelectorItem
CreateEventHandlers ( ) : void
CreateVisuals ( ) : void
GetClosestItem ( ) : int
GetFirstItem ( LoopingSelectorItem item, int &count ) : LoopingSelectorItem
GetLastItem ( LoopingSelectorItem item, int &count ) : LoopingSelectorItem
LoopingSelector_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
LoopingSelector_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnDataSourceChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnDataSourceSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
OnIsExpandedChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemTemplateChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void
OnManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void
OnManipulationStarted ( object sender, System.Windows.Input.ManipulationStartedEventArgs e ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnTap ( object sender, System e ) : void
OnWrapperClick ( object sender, EventArgs e ) : void
PanelStoryboardCompleted ( object sender, EventArgs e ) : void
SelectAndSnapTo ( LoopingSelectorItem item ) : void
SelectAndSnapToClosest ( ) : void
StopAnimation ( ) : void
UpdateData ( ) : void
UpdateItemState ( ) : void
UpdateItemTemplates ( ) : void

Method Details

LoopingSelector() public method

Creates a new LoopingSelector.
public LoopingSelector ( ) : System
return System

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:FrameworkElement.ApplyTemplate(). In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public OnApplyTemplate ( ) : void
return void

Property Details

DataSourceProperty public static property

The DataSource DependencyProperty
public static DependencyProperty,System.Windows DataSourceProperty
return System.Windows.DependencyProperty

IsExpandedProperty public static property

The IsExpanded DependencyProperty.
public static DependencyProperty,System.Windows IsExpandedProperty
return System.Windows.DependencyProperty

ItemTemplateProperty public static property

The ItemTemplate DependencyProperty
public static DependencyProperty,System.Windows ItemTemplateProperty
return System.Windows.DependencyProperty