1 out of 2 rated this helpful - Rate this topic

PhoneApplicationFrame Class

Windows Phone

March 22, 2012

The class for the PhoneApplicationFrame control for Windows Phone Silverlight projects. For more information about this control, see Frame and Page Navigation Overview for Windows Phone.

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          System.Windows.Controls.ContentControl
            System.Windows.Controls.Frame
              Microsoft.Phone.Controls.PhoneApplicationFrame

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
[TemplatePartAttribute(Name = "ClientArea", Type = typeof(FrameworkElement))]
public class PhoneApplicationFrame : Frame
<PhoneApplicationFrame .../>

The PhoneApplicationFrame type exposes the following members.

  Name Description
Public method PhoneApplicationFrame Initializes a new instance of the PhoneApplicationFrame class.
Top
  Name Description
Public property ActualHeight (Inherited from FrameworkElement.)
Public property ActualWidth (Inherited from FrameworkElement.)
Public property AllowDrop (Inherited from UIElement.)
Public property Background (Inherited from Control.)
Public property BackStack Gets an IEnumerable that you use to enumerate the entries in the back navigation history.
Public property BorderBrush (Inherited from Control.)
Public property BorderThickness (Inherited from Control.)
Public property CacheMode (Inherited from UIElement.)
Public property CacheSize Gets or sets the number of pages that can be cached for the frame. (Inherited from Frame.)
Public property CanGoBack Gets a value that indicates whether there is at least one entry in the back navigation history. (Inherited from Frame.)
Public property CanGoForward Gets a value that indicates whether there is at least one entry in the forward navigation history. (Inherited from Frame.)
Public property Clip (Inherited from UIElement.)
Public property Content (Inherited from ContentControl.)
Public property ContentTemplate (Inherited from ContentControl.)
Public property CurrentSource Gets the uniform resource identifier (URI) of the content that is currently displayed. (Inherited from Frame.)
Public property Cursor (Inherited from FrameworkElement.)
Public property DataContext (Inherited from FrameworkElement.)
Protected property DefaultStyleKey (Inherited from Control.)
Public property DesiredSize (Inherited from UIElement.)
Public property Dispatcher (Inherited from DependencyObject.)
Public property FlowDirection (Inherited from FrameworkElement.)
Public property FontFamily (Inherited from Control.)
Public property FontSize (Inherited from Control.)
Public property FontStretch (Inherited from Control.)
Public property FontStyle (Inherited from Control.)
Public property FontWeight (Inherited from Control.)
Public property Foreground (Inherited from Control.)
Public property Height (Inherited from FrameworkElement.)
Public property HorizontalAlignment (Inherited from FrameworkElement.)
Public property HorizontalContentAlignment (Inherited from Control.)
Public property IsEnabled (Inherited from Control.)
Public property IsHitTestVisible (Inherited from UIElement.)
Public property IsTabStop (Inherited from Control.)
Public property JournalOwnership Gets or sets whether a frame is responsible for managing its own navigation history, or whether it integrates with the web browser journal. (Inherited from Frame.)
Public property Language (Inherited from FrameworkElement.)
Public property Margin (Inherited from FrameworkElement.)
Public property MaxHeight (Inherited from FrameworkElement.)
Public property MaxWidth (Inherited from FrameworkElement.)
Public property MinHeight (Inherited from FrameworkElement.)
Public property MinWidth (Inherited from FrameworkElement.)
Public property Name (Inherited from FrameworkElement.)
Public property Opacity (Inherited from UIElement.)
Public property OpacityMask (Inherited from UIElement.)
Public property Orientation This property indicates the current orientation of the frame that is decided by the hosted page.
Public property Padding (Inherited from Control.)
Public property Parent (Inherited from FrameworkElement.)
Public property Projection (Inherited from UIElement.)
Public property RenderSize (Inherited from UIElement.)
Public property RenderTransform (Inherited from UIElement.)
Public property RenderTransformOrigin (Inherited from UIElement.)
Public property Resources (Inherited from FrameworkElement.)
Public property Source Gets or sets the uniform resource identifier (URI) of the current content or the content that is being navigated to. (Inherited from Frame.)
Public property Style (Inherited from FrameworkElement.)
Public property TabIndex (Inherited from Control.)
Public property TabNavigation (Inherited from Control.)
Public property Tag (Inherited from FrameworkElement.)
Public property Template (Inherited from Control.)
Public property Triggers (Inherited from FrameworkElement.)
Public property UriMapper Gets or sets the object to manage converting a uniform resource identifier (URI) to another URI for this frame. (Inherited from Frame.)
Public property UseLayoutRounding (Inherited from UIElement.)
Public property VerticalAlignment (Inherited from FrameworkElement.)
Public property VerticalContentAlignment (Inherited from Control.)
Public property Visibility (Inherited from UIElement.)
Public property Width (Inherited from FrameworkElement.)
Top
  Name Description
Public method AddHandler (Inherited from UIElement.)
Public method ApplyTemplate (Inherited from Control.)
Public method Arrange (Inherited from UIElement.)
Protected method ArrangeOverride When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class. (Overrides FrameworkElement.ArrangeOverride(Size).)
Public method CaptureMouse (Inherited from UIElement.)
Public method CheckAccess (Inherited from DependencyObject.)
Public method ClearValue (Inherited from DependencyObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. Finalize is protected and, therefore, is accessible only through this class or a derived class. (Overrides Object.Finalize().)
Public method FindName (Inherited from FrameworkElement.)
Public method Focus (Inherited from Control.)
Public method GetAnimationBaseValue (Inherited from DependencyObject.)
Public method GetBindingExpression (Inherited from FrameworkElement.)
Public method GetHashCode (Inherited from Object.)
Protected method GetTemplateChild (Inherited from Control.)
Public method GetType (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method GoBack Navigates to the most recent entry in the back navigation history, or throws an exception if no entry exists in back navigation. (Inherited from Frame.)
Public method GoForward Navigates to the most recent entry in the forward navigation history, or throws an exception if no entry exists in forward navigation. For Windows Phone, this method will always throw an exception because there is no forward navigation stack. (Inherited from Frame.)
Public method InvalidateArrange (Inherited from UIElement.)
Public method InvalidateMeasure (Inherited from UIElement.)
Public method Measure (Inherited from UIElement.)
Protected method MeasureOverride When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class. (Overrides FrameworkElement.MeasureOverride(Size).)
Protected method MemberwiseClone (Inherited from Object.)
Public method Navigate Navigates to the content specified by the uniform resource identifier (URI). (Inherited from Frame.)
Public method OnApplyTemplate This method applies a template to the PhoneApplicationFrame. (Overrides Frame.OnApplyTemplate().)
Protected method OnContentChanged (Inherited from ContentControl.)
Protected method OnCreateAutomationPeer Returns a FrameAutomationPeer for use by the Silverlight automation infrastructure. (Overrides UIElement OnCreateAutomationPeer().) (Inherited from Frame.)
Protected method OnDoubleTap (Inherited from Control.)
Protected method OnDragEnter (Inherited from Control.)
Protected method OnDragLeave (Inherited from Control.)
Protected method OnDragOver (Inherited from Control.)
Protected method OnDrop (Inherited from Control.)
Protected method OnGotFocus (Inherited from Control.)
Protected method OnHold (Inherited from Control.)
Protected method OnKeyDown (Inherited from Control.)
Protected method OnKeyUp (Inherited from Control.)
Protected method OnLostFocus (Inherited from Control.)
Protected method OnLostMouseCapture (Inherited from Control.)
Protected method OnManipulationCompleted (Inherited from Control.)
Protected method OnManipulationDelta (Inherited from Control.)
Protected method OnManipulationStarted (Inherited from Control.)
Protected method OnMouseEnter (Inherited from Control.)
Protected method OnMouseLeave (Inherited from Control.)
Protected method OnMouseLeftButtonDown (Inherited from Control.)
Protected method OnMouseLeftButtonUp (Inherited from Control.)
Protected method OnMouseMove (Inherited from Control.)
Protected method OnMouseRightButtonDown (Inherited from Control.)
Protected method OnMouseRightButtonUp (Inherited from Control.)
Protected method OnMouseWheel (Inherited from Control.)
Protected method OnTap (Inherited from Control.)
Protected method OnTextInput (Inherited from Control.)
Protected method OnTextInputStart (Inherited from Control.)
Protected method OnTextInputUpdate (Inherited from Control.)
Public method ReadLocalValue (Inherited from DependencyObject.)
Public method ReleaseMouseCapture (Inherited from UIElement.)
Public method RemoveBackEntry This method is used to remove the most recent entry from the back stack, or throws an InvalidOperationException if there are no more entries to remove. If you want to remove more than one item, you call this method multiple times. This API is synchronous and must be called from the UI thread.
Public method RemoveHandler (Inherited from UIElement.)
Public method SetBinding (Inherited from FrameworkElement.)
Public method SetValue (Inherited from DependencyObject.)
Public method StopLoading Stops asynchronous navigations that have not yet been processed. (Inherited from Frame.)
Public method ToString (Inherited from Object.)
Public method TransformToVisual (Inherited from UIElement.)
Public method UpdateLayout (Inherited from UIElement.)
Top
  Name Description
Public event BackKeyPress Occurs when the hardware Back button is pressed.
Public event BindingValidationError (Inherited from FrameworkElement.)
Public event DoubleTap (Inherited from UIElement.)
Public event FragmentNavigation Occurs when navigation to a content fragment begins. (Inherited from Frame.)
Public event GotFocus (Inherited from UIElement.)
Public event Hold (Inherited from UIElement.)
Public event IsEnabledChanged (Inherited from Control.)
Public event JournalEntryRemoved This event is raised during a RemoveBackEntry() operation or during a normal back navigation after the Navigated event has been raised.
Public event KeyDown (Inherited from UIElement.)
Public event KeyUp (Inherited from UIElement.)
Public event LayoutUpdated (Inherited from FrameworkElement.)
Public event Loaded (Inherited from FrameworkElement.)
Public event LostFocus (Inherited from UIElement.)
Public event LostMouseCapture (Inherited from UIElement.)
Public event ManipulationCompleted (Inherited from UIElement.)
Public event ManipulationDelta (Inherited from UIElement.)
Public event ManipulationStarted (Inherited from UIElement.)
Public event MouseEnter (Inherited from UIElement.)
Public event MouseLeave (Inherited from UIElement.)
Public event MouseLeftButtonDown (Inherited from UIElement.)
Public event MouseLeftButtonUp (Inherited from UIElement.)
Public event MouseMove (Inherited from UIElement.)
Public event MouseWheel (Inherited from UIElement.)
Public event Navigated Occurs when the content that is being navigated to has been found and is available. (Inherited from Frame.)
Public event Navigating Occurs when a new navigation is requested. (Inherited from Frame.)
Public event NavigationFailed Occurs when an error is encountered while navigating to the requested content. (Inherited from Frame.)
Public event NavigationStopped Occurs when a navigation is terminated by either calling the StopLoading() method, or when a new navigation is requested while the current navigation is in progress. (Inherited from Frame.)
Public event Obscured Occurs when the shell chrome is covering the frame.
Public event OrientationChanged Occurs when the Orientation property has changed.
Public event SizeChanged (Inherited from FrameworkElement.)
Public event Tap (Inherited from UIElement.)
Public event TextInput (Inherited from UIElement.)
Public event TextInputStart (Inherited from UIElement.)
Public event TextInputUpdate (Inherited from UIElement.)
Public event Unloaded (Inherited from FrameworkElement.)
Public event Unobscured Occurs when the shell chrome is no longer covering the frame.
Top
  Name Description
Public field Static member OrientationProperty The dependency property for Orientation.
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)