C# Class EasyBike.WinPhone.MainPage

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: ThePublicBikeGang/EasyBike

Méthodes publiques

Свойство Type Description
LastSearchGeopoint Geopoint
Map MapControl
PreviousSelectedItem object
PreviousSelectedVelibStation StationControl
SearchRouteCancellationToken System.Threading.CancellationTokenSource
appLaunchedFromProtocolUri bool
compassMode bool
dispatcher Windows.UI.Core.CoreDispatcher
gl Windows.Devices.Geolocation.Geolocator
mainPage MainPage

Méthodes publiques

Méthode Description
DisableLocalization ( ) : void
EnableLocalization ( ) : void
GetRoute ( Geopoint point, Favorite favorit = null ) : void
GetRouteWithToken ( Geopoint endPoint, CancellationToken token, Favorite favorite = null, int retry ) : void
HideSearchLocationPoint ( ) : void
MainPage ( ) : GalaSoft.MvvmLight.Ioc
SelectItem ( object item, bool skipFlyout ) : void
SetViewToLocation ( double lat, double lon ) : void
ShowFlyout ( object item ) : void
StopCompassAndUserLocationTracking ( ) : void
UpdateNorthElementAngle ( double angle ) : void
UpdateOverlay ( object sender, RoutedEventArgs e ) : void
UpdateUserLocationElementAngle ( double angle ) : void

Méthodes protégées

Méthode Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Méthode Description
AboutButton_Click ( object sender, Windows e ) : void
AddressTextBox_KeyUp ( object sender, Windows e ) : void
FavoriteNameButtonOk_Click ( object sender, RoutedEventArgs e ) : void
FavoriteNameTextBox_KeyUp ( object sender, Windows e ) : void
FavoritsButton_Click ( object sender, Windows e ) : void
FindLocation ( string address, Geopoint hintPoint, uint maxResult ) : Task
FindLocationsAt ( Geopoint geoPoint ) : Task
FindRoute ( Geopoint startPoint, Geopoint endPoint ) : Task
FlyoutButtonAddFavorit_Click ( object sender, Windows e ) : void
FlyoutButtonDriveTo_Click ( object sender, Windows e ) : void
FormatShareLocationMessage ( ) : string
HardwareButtons_BackPressed ( object sender, BackPressedEventArgs e ) : void
HideSearch ( ) : void
HowToUseThisAppButton_Click ( object sender, Windows e ) : void
Init ( ) : void
LocationButton_Click ( object sender, Windows e ) : void
MainPage_FireGoToFavorite ( object sender, EventArgs e ) : void
MapCtrl_DoubleTapped ( object sender, Windows e ) : void
NorthIndicator_Click ( object sender, Windows e ) : void
ReverseGeocode ( bool fromSearch = false ) : void
ReverseGeocode ( bool fromSearch, CancellationToken token, int retry ) : void
SearchAddress ( CancellationToken token ) : void
SearchButton_Click ( object sender, Windows e ) : void
SearchLocationPoint_Holding ( object sender, HoldingRoutedEventArgs e ) : void
SearchLocationPoint_ManipulationStarting ( object sender, Windows e ) : void
SearchLocationPoint_Tapped ( object sender, Windows e ) : void
SetCompassIcon ( ) : void
SetTargetIcon ( ) : void
SetView ( Geopoint center, double zoomLevel, double heading, double desiredPitch, MapAnimationKind animation ) : void
ShareByMailButton_Click ( object sender, Windows e ) : void
ShareByTextButton_Click ( object sender, Windows e ) : void
ShowSearchLocationPoint ( Geopoint location, string name ) : void
ShowUserLocation ( ) : void
StopCompass ( ) : void
ToggleButtonVelibParking_Click ( object sender, Windows e ) : void
TouchPanel_Holding ( object sender, HoldingRoutedEventArgs e ) : void
TouchPanel_ManipulationStarted ( object sender, ManipulationStartedRoutedEventArgs e ) : void
TouchPanel_ManipulationStarting ( object sender, ManipulationStartingRoutedEventArgs e ) : void
VelibTemplateStationRootCanvas_ManipulationStarting ( object sender, Windows e ) : void

Invoked when this page is about to be displayed in a Frame.

_notificationService_OnNotify ( object sender, Notification e ) : void
compass_ReadingChanged ( Compass sender, CompassReadingChangedEventArgs args ) : void
gl_PositionChanged ( Geolocator sender, PositionChangedEventArgs args ) : void
gl_StatusChanged ( Geolocator sender, StatusChangedEventArgs args ) : void
refreshAccuracyIndicator ( ) : void

Method Details

DisableLocalization() public méthode

public DisableLocalization ( ) : void
Résultat void

EnableLocalization() public méthode

public EnableLocalization ( ) : void
Résultat void

GetRoute() public méthode

public GetRoute ( Geopoint point, Favorite favorit = null ) : void
point Geopoint
favorit EasyBike.Models.Favorites.Favorite
Résultat void

GetRouteWithToken() public méthode

public GetRouteWithToken ( Geopoint endPoint, CancellationToken token, Favorite favorite = null, int retry ) : void
endPoint Geopoint
token System.Threading.CancellationToken
favorite EasyBike.Models.Favorites.Favorite
retry int
Résultat void

HideSearchLocationPoint() public méthode

public HideSearchLocationPoint ( ) : void
Résultat void

MainPage() public méthode

public MainPage ( ) : GalaSoft.MvvmLight.Ioc
Résultat GalaSoft.MvvmLight.Ioc

OnNavigatedFrom() protected méthode

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

OnNavigatedTo() protected méthode

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

SelectItem() public méthode

public SelectItem ( object item, bool skipFlyout ) : void
item object
skipFlyout bool
Résultat void

SetViewToLocation() public méthode

public SetViewToLocation ( double lat, double lon ) : void
lat double
lon double
Résultat void

ShowFlyout() public méthode

public ShowFlyout ( object item ) : void
item object
Résultat void

StopCompassAndUserLocationTracking() public méthode

public StopCompassAndUserLocationTracking ( ) : void
Résultat void

UpdateNorthElementAngle() public méthode

public UpdateNorthElementAngle ( double angle ) : void
angle double
Résultat void

UpdateOverlay() public méthode

public UpdateOverlay ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
Résultat void

UpdateUserLocationElementAngle() public méthode

public UpdateUserLocationElementAngle ( double angle ) : void
angle double
Résultat void

Property Details

LastSearchGeopoint public_oe property

public Geopoint LastSearchGeopoint
Résultat Geopoint

Map public_oe static_oe property

public static MapControl Map
Résultat MapControl

PreviousSelectedItem public_oe property

public object PreviousSelectedItem
Résultat object

PreviousSelectedVelibStation public_oe property

public StationControl PreviousSelectedVelibStation
Résultat StationControl

SearchRouteCancellationToken public_oe property

public CancellationTokenSource,System.Threading SearchRouteCancellationToken
Résultat System.Threading.CancellationTokenSource

appLaunchedFromProtocolUri public_oe property

public bool appLaunchedFromProtocolUri
Résultat bool

compassMode public_oe property

public bool compassMode
Résultat bool

dispatcher public_oe static_oe property

public static CoreDispatcher,Windows.UI.Core dispatcher
Résultat Windows.UI.Core.CoreDispatcher

gl public_oe property

public Geolocator,Windows.Devices.Geolocation gl
Résultat Windows.Devices.Geolocation.Geolocator

mainPage public_oe static_oe property

public static MainPage mainPage
Résultat MainPage