Posts Tagged: windows phone

Data-binding PivotItem.Visibility : an helper

Posted by & filed under Dev', Sources.

A common quirk of Windows Phone’s Pivot control API is the lack of support of the Visibility property. The property is held by the Pivot class, but toggling it to Visible or Collapsed does not change the visibility of the PivotItem. In fact the only way to hide a PivotItem is to remove it from […]

Vérifier si le Wi-Fi est connecté

Posted by & filed under Dev', Tips.

Un petit piège à éviter concernant la détection du Wi-Fi : Le tutoriel proposé par la MSDN conseille d’utiliser DeviceNetworkInformation.IsWiFiEnabled pour détecter si le Wi-Fi est activé. Attention, ce flag possède l’avantage d’être rapide à lire mais indique comme son nom l’indique si le Wi-Fi est activé dans les paramètres du téléphone, et en aucun […]