API changes
We encourage you to move away from deprecated APIs to get the best performance from your app. Also, some API elements have moved to new namespaces.
The following API elements are deprecated.
API element Replace with
Pivot.LoadingPivotItem Pivot.PivotItemLoading
Pivot.LoadedPivotItem Pivot.PivotItemLoaded
Pivot.UnloadingPivotItem Pivot.PivotItemUnloading
Pivot.UnloadedPivotItem Pivot.PivotItemUnloaded
Display.DisplayProperties Display.DisplayInformation.GetForCurrentView
MediaPlayer.UriSource MediaPlayer.SetUriSource
ActivateBackgroundObject IBackgroundTask (see “Background Audio”)
NavigateThemeTransition NavigationThemeTransition
ExitTarget ExitElement
EntranceTarget EntranceElement
IsExitTargetProvider ExitElementContainer
TurnstileNavigationTransitionInfo CommonNavigationTransitionInfo
PhoneFontSize19 TextStyleLargeFontSize
PhoneFontSizeMedium TextStyleLargeFontSize
PhoneFontSizeLarge TextStyleExtraLargeFontSize
PivotHeaderFontSize PivotHeaderItemFontSize
PivotTitleFontSize TextStyleLargeFontSize
SetBoundsForLayout SetDesiredBoundsMode
BoundsForLayout DesiredBoundsMode
ApplicationViewLayoutBoundsOption ApplicationViewBoundsMode
VisibleBounds UseVisible
CoreWindowsBounds UseCoreWindow
Windows.UI.ViewManagement.Application.IsImmersive Windows.UI.ViewManagement.ApplicationView. SuppressSystemOverlaysWindows.UI.ViewManagement.ApplicationView.SuppressSystemOverlays
The following API elements have new types.
API element Old type New type
Pivot.Title string object
The following API elements have moved from the Windows.UI.Xaml.Phone namespace.
API element New namespace
DatePickerFlyout Windows.UI.Xaml.Controls
DatePickerFlyoutItem Windows.UI.Xaml.Controls
DatePickerFlyoutPresenter Windows.UI.Xaml.Controls
DateSelectionCompletedEventArgs Windows.UI.Xaml.Controls
DateSelectionCompletedEventHandler Windows.UI.Xaml.Controls
ItemsSelectionCompletedEventArgs Windows.UI.Xaml.Controls
ItemsSelectionCompletedEventHandle Windows.UI.Xaml.Controls
ListPickerFlyout Windows.UI.Xaml.Controls
ListPickerFlyoutPresenter Windows.UI.Xaml.Controls
PickerFlyout Windows.UI.Xaml.Controls
PickerFlyoutPresenter Windows.UI.Xaml.Controls
Pivot Windows.UI.Xaml.Controls
PivotItem Windows.UI.Xaml.Controls
PivotItemEventArgs Windows.UI.Xaml.Controls
PivotItemLoadedEventHandler Windows.UI.Xaml.Controls
PivotItemLoadingEventHandler Windows.UI.Xaml.Controls
PivotItemUnloadedEventHandler Windows.UI.Xaml.Controls
PivotItemUnloadingEventHandler Windows.UI.Xaml.Controls
PivotSlideInAnimationGroup Windows.UI.Xaml.Controls
SelectionCompletedEventArgs Windows.UI.Xaml.Controls
TimePickerFlyout Windows.UI.Xaml.Controls
TimePickerFlyoutPresenter Windows.UI.Xaml.Controls
TimeSelectionCompletedEventArgs Windows.UI.Xaml.Controls
TimeSelectionCompletedEventHandler Windows.UI.Xaml.Controls
JumpListItemBackgroundConverter Windows.UI.Xaml.Controls.Primitives
JumpListItemForegroundConverter Windows.UI.Xaml.Controls.Primitives
LoopingSelector Windows.UI.Xaml.Controls.Primitives
LoopingSelectorItem Windows.UI.Xaml.Controls.Primitives
LoopingSelectorPanel Windows.UI.Xaml.Controls.Primitives
PickerFlyoutBase Windows.UI.Xaml.Controls.Primitives
PivotHeaderItem Windows.UI.Xaml.Controls.Primitives
PivotHeadersControl Windows.UI.Xaml.Controls.Primitives
ContinuumNavigationTransitionInfo Windows.UI.Xaml.Media.Animation
NavigateThemeTransition Windows.UI.Xaml.Media.Animation
SlideNavigationTransitionInfo Windows.UI.Xaml.Media.Animation
TurnstileNavigationTransitionInfo Windows.UI.Xaml.Media.Animation
DatePickerFlyoutPresenterAutomationPeer Windows.UI.Xaml.Automation.Peers
LoopingSelectorAutomationPeer Windows.UI.Xaml.Automation.Peers
LoopingSelectorItemAutomationPeer Windows.UI.Xaml.Automation.Peers
LoopingSelectorItemDataAutomationPeer Windows.UI.Xaml.Automation.Peers
PivotAutomationPeer Windows.UI.Xaml.Automation.Peers
PivotItemAutomationPeer Windows.UI.Xaml.Automation.Peers
TimePickerFlyoutPresenterAutomationPeer Windows.UI.Xaml.Automation.Peers