C# Class ESRI.ArcGIS.Client.Toolkit.TimeSlider

Inheritance: System.Windows.Controls.Control
Show file Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Properties

Property Type Description
IntervalsProperty System.Windows.DependencyProperty
IsPlayingProperty System.Windows.DependencyProperty
LoopProperty System.Windows.DependencyProperty
MaximumValueProperty System.Windows.DependencyProperty
MinimumValueProperty DependencyProperty
PlaySpeedProperty DependencyProperty
TimeModeProperty DependencyProperty
ValueProperty DependencyProperty

Private Properties

Property Type Description
ChangeVisualState void
CreateTickmarks void
DragCompleted void
GetTrackWidth double
HorizontalTrackThumb_DragDelta void
MaximumThumb_DragDelta void
MinimumThumb_DragDelta void
OnIntervalsPropertyChanged void
OnIsPlayingPropertyChanged void
OnMaximumValuePropertyChanged void
OnMinimumValuePropertyChanged void
OnPlaySpeedPropertyChanged void
OnTimeModePropertyChange void
OnValuePropertyChanged void
Rewind void
SetButtonVisibility void
Snap TimeExtent
TimeSlider System
TimeSlider_CollectionChanged void
TimeSlider_SizeChanged void
UpdateTrackLayout void
playTimer_Tick void

Public Methods

Method Description
CreateTimeStopsByCount ( TimeExtent extent, int count ) : IEnumerable

Creates the specified number of time stops evenly distributed in the time extent.

CreateTimeStopsByTimeInterval ( TimeExtent extent, System.TimeSpan interval ) : IEnumerable

Creates time stops within an interval dispersed with by specified TimeSpan.

Next ( ) : bool

Jumps to the next position in the intervals.

OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.

Previous ( ) : bool

Jumps to the previous position in the intervals.

Protected Methods

Method Description
OnGotFocus ( RoutedEventArgs e ) : void

Called before the E:System.Windows.UIElement.GotFocus event occurs.

OnKeyDown ( KeyEventArgs e ) : void

Called before the E:System.Windows.UIElement.KeyDown event occurs.

OnLostFocus ( RoutedEventArgs e ) : void

Called before the E:System.Windows.UIElement.LostFocus event occurs.

OnMouseEnter ( MouseEventArgs e ) : void

Called before the E:System.Windows.UIElement.MouseEnter event occurs.

OnMouseLeave ( MouseEventArgs e ) : void

Called before the E:System.Windows.UIElement.MouseLeave event occurs.

OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void

Called before the E:System.Windows.UIElement.MouseLeftButtonDown event occurs.

Private Methods

Method Description
ChangeVisualState ( bool useTransitions ) : void
CreateTickmarks ( ) : void
DragCompleted ( object sender, System e ) : void
GetTrackWidth ( ) : double
HorizontalTrackThumb_DragDelta ( object sender, System e ) : void
MaximumThumb_DragDelta ( object sender, System e ) : void
MinimumThumb_DragDelta ( object sender, System e ) : void
OnIntervalsPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnIsPlayingPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnMaximumValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnMinimumValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnPlaySpeedPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTimeModePropertyChange ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnValuePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
Rewind ( ) : void
SetButtonVisibility ( ) : void
Snap ( TimeExtent extent, bool preserveSpan ) : TimeExtent
TimeSlider ( ) : System

Static initialization for the TimeSlider control.

TimeSlider_CollectionChanged ( object sender, System e ) : void
TimeSlider_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
UpdateTrackLayout ( TimeExtent extent ) : void
playTimer_Tick ( object sender, EventArgs e ) : void

Method Details

CreateTimeStopsByCount() public static method

Creates the specified number of time stops evenly distributed in the time extent.
public static CreateTimeStopsByCount ( TimeExtent extent, int count ) : IEnumerable
extent TimeExtent The time extent.
count int Number of stops.
return IEnumerable

CreateTimeStopsByTimeInterval() public static method

Creates time stops within an interval dispersed with by specified TimeSpan.
public static CreateTimeStopsByTimeInterval ( TimeExtent extent, System.TimeSpan interval ) : IEnumerable
extent TimeExtent The time extent.
interval System.TimeSpan Interval between each time stop.
return IEnumerable

Next() public method

Jumps to the next position in the intervals.
public Next ( ) : bool
return bool

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:System.Windows.Controls.Control.ApplyTemplate.
public OnApplyTemplate ( ) : void
return void

OnGotFocus() protected method

Called before the E:System.Windows.UIElement.GotFocus event occurs.
protected OnGotFocus ( RoutedEventArgs e ) : void
e RoutedEventArgs The data for the event.
return void

OnKeyDown() protected method

Called before the E:System.Windows.UIElement.KeyDown event occurs.
protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs The data for the event.
return void

OnLostFocus() protected method

Called before the E:System.Windows.UIElement.LostFocus event occurs.
protected OnLostFocus ( RoutedEventArgs e ) : void
e RoutedEventArgs The data for the event.
return void

OnMouseEnter() protected method

Called before the E:System.Windows.UIElement.MouseEnter event occurs.
protected OnMouseEnter ( MouseEventArgs e ) : void
e MouseEventArgs The data for the event.
return void

OnMouseLeave() protected method

Called before the E:System.Windows.UIElement.MouseLeave event occurs.
protected OnMouseLeave ( MouseEventArgs e ) : void
e MouseEventArgs The data for the event.
return void

OnMouseLeftButtonDown() protected method

Called before the E:System.Windows.UIElement.MouseLeftButtonDown event occurs.
protected OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs The data for the event.
return void

Previous() public method

Jumps to the previous position in the intervals.
public Previous ( ) : bool
return bool

Property Details

IntervalsProperty public static property

Identifies the Intervals dependency property.
public static DependencyProperty,System.Windows IntervalsProperty
return System.Windows.DependencyProperty

IsPlayingProperty public static property

Identifies the IsPlaying dependency property.
public static DependencyProperty,System.Windows IsPlayingProperty
return System.Windows.DependencyProperty

LoopProperty public static property

Identifies the Loop dependency property.
public static DependencyProperty,System.Windows LoopProperty
return System.Windows.DependencyProperty

MaximumValueProperty public static property

Identifies the MaximumValue dependency property.
public static DependencyProperty,System.Windows MaximumValueProperty
return System.Windows.DependencyProperty

MinimumValueProperty public static property

Identifies the MinimumValue dependency property.
public static DependencyProperty MinimumValueProperty
return DependencyProperty

PlaySpeedProperty public static property

Identifies the PlaySpeed dependency property.
public static DependencyProperty PlaySpeedProperty
return DependencyProperty

TimeModeProperty public static property

Identifies the ESRI.ArcGIS.Client.Toolkit.TimeSlider.TimeMode dependancy property.
public static DependencyProperty TimeModeProperty
return DependencyProperty

ValueProperty public static property

Identifies the Value dependency property.
public static DependencyProperty ValueProperty
return DependencyProperty