0 out of 1 rated this helpful - Rate this topic

Frame Class

July 26, 2012

Represents a control that supports navigation to and from Silverlight pages. The Frame class presented here is only a base class for PhoneApplicationFrame.

Namespace:  System.Windows.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
[TemplatePartAttribute(Name = "NextButton", Type = typeof(ButtonBase))]
[TemplatePartAttribute(Name = "PrevButton", Type = typeof(ButtonBase))]
public class Frame : ContentControl, INavigate

The Frame type exposes the following members.

  NameDescription
Public propertyActualHeight (Inherited from FrameworkElement.)
Public propertyActualWidth (Inherited from FrameworkElement.)
Public propertyAllowDrop (Inherited from UIElement.)
Public propertyBackground (Inherited from Control.)
Public propertyBorderBrush (Inherited from Control.)
Public propertyBorderThickness (Inherited from Control.)
Public propertyCacheMode (Inherited from UIElement.)
Public propertyCacheSizeGets or sets the number of pages that can be cached for the frame.
Public propertyCanGoBackGets a value that indicates whether there is at least one entry in the back navigation history.
Public propertyCanGoForwardGets a value that indicates whether there is at least one entry in the forward navigation history.
Public propertyClip (Inherited from UIElement.)
Public propertyContent (Inherited from ContentControl.)
Public propertyContentTemplate (Inherited from ContentControl.)
Public propertyCurrentSourceGets the uniform resource identifier (URI) of the content that is currently displayed.
Public propertyCursor (Inherited from FrameworkElement.)
Public propertyDataContext (Inherited from FrameworkElement.)
Protected propertyDefaultStyleKey (Inherited from Control.)
Public propertyDesiredSize (Inherited from UIElement.)
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyFlowDirection (Inherited from FrameworkElement.)
Public propertyFontFamily (Inherited from Control.)
Public propertyFontSize (Inherited from Control.)
Public propertyFontStretch (Inherited from Control.)
Public propertyFontStyle (Inherited from Control.)
Public propertyFontWeight (Inherited from Control.)
Public propertyForeground (Inherited from Control.)
Public propertyHeight (Inherited from FrameworkElement.)
Public propertyHorizontalAlignment (Inherited from FrameworkElement.)
Public propertyHorizontalContentAlignment (Inherited from Control.)
Public propertyIsEnabled (Inherited from Control.)
Public propertyIsHitTestVisible (Inherited from UIElement.)
Public propertyIsTabStop (Inherited from Control.)
Public propertyJournalOwnershipGets or sets whether a frame is responsible for managing its own navigation history, or whether it integrates with the web browser journal.
Public propertyLanguage (Inherited from FrameworkElement.)
Public propertyMargin (Inherited from FrameworkElement.)
Public propertyMaxHeight (Inherited from FrameworkElement.)
Public propertyMaxWidth (Inherited from FrameworkElement.)
Public propertyMinHeight (Inherited from FrameworkElement.)
Public propertyMinWidth (Inherited from FrameworkElement.)
Public propertyName (Inherited from FrameworkElement.)
Public propertyOpacity (Inherited from UIElement.)
Public propertyOpacityMask (Inherited from UIElement.)
Public propertyPadding (Inherited from Control.)
Public propertyParent (Inherited from FrameworkElement.)
Public propertyProjection (Inherited from UIElement.)
Public propertyRenderSize (Inherited from UIElement.)
Public propertyRenderTransform (Inherited from UIElement.)
Public propertyRenderTransformOrigin (Inherited from UIElement.)
Public propertyResources (Inherited from FrameworkElement.)
Public propertySourceGets or sets the uniform resource identifier (URI) of the current content or the content that is being navigated to.
Public propertyStyle (Inherited from FrameworkElement.)
Public propertyTabIndex (Inherited from Control.)
Public propertyTabNavigation (Inherited from Control.)
Public propertyTag (Inherited from FrameworkElement.)
Public propertyTemplate (Inherited from Control.)
Public propertyTriggers (Inherited from FrameworkElement.)
Public propertyUriMapperGets or sets the object to manage converting a uniform resource identifier (URI) to another URI for this frame.
Public propertyUseLayoutRounding (Inherited from UIElement.)
Public propertyVerticalAlignment (Inherited from FrameworkElement.)
Public propertyVerticalContentAlignment (Inherited from Control.)
Public propertyVisibility (Inherited from UIElement.)
Public propertyWidth (Inherited from FrameworkElement.)
Top
  NameDescription
Public methodAddHandler (Inherited from UIElement.)
Public methodApplyTemplate (Inherited from Control.)
Public methodArrange (Inherited from UIElement.)
Protected methodArrangeOverride (Inherited from FrameworkElement.)
Public methodCaptureMouse (Inherited from UIElement.)
Public methodCheckAccess (Inherited from DependencyObject.)
Public methodClearValue (Inherited from DependencyObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindName (Inherited from FrameworkElement.)
Public methodFocus (Inherited from Control.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetBindingExpression (Inherited from FrameworkElement.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetTemplateChild (Inherited from Control.)
Public methodGetType (Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Public methodGoBackNavigates to the most recent entry in the back navigation history, or throws an exception if no entry exists in back navigation.
Public methodGoForwardNavigates 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.
Public methodInvalidateArrange (Inherited from UIElement.)
Public methodInvalidateMeasure (Inherited from UIElement.)
Public methodMeasure (Inherited from UIElement.)
Protected methodMeasureOverride (Inherited from FrameworkElement.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNavigateNavigates to the content specified by the uniform resource identifier (URI).
Public methodOnApplyTemplateBuilds the visual tree for the Frame when a new template is applied. (Overrides FrameworkElement OnApplyTemplate().) (Overrides FrameworkElement.OnApplyTemplate().)
Protected methodOnContentChanged (Inherited from ContentControl.)
Protected methodOnCreateAutomationPeerReturns a FrameAutomationPeer for use by the Silverlight automation infrastructure. (Overrides UIElement OnCreateAutomationPeer().) (Overrides UIElement.OnCreateAutomationPeer().)
Protected methodOnDoubleTap (Inherited from Control.)
Protected methodOnDragEnter (Inherited from Control.)
Protected methodOnDragLeave (Inherited from Control.)
Protected methodOnDragOver (Inherited from Control.)
Protected methodOnDrop (Inherited from Control.)
Protected methodOnGotFocus (Inherited from Control.)
Protected methodOnHold (Inherited from Control.)
Protected methodOnKeyDown (Inherited from Control.)
Protected methodOnKeyUp (Inherited from Control.)
Protected methodOnLostFocus (Inherited from Control.)
Protected methodOnLostMouseCapture (Inherited from Control.)
Protected methodOnManipulationCompleted (Inherited from Control.)
Protected methodOnManipulationDelta (Inherited from Control.)
Protected methodOnManipulationStarted (Inherited from Control.)
Protected methodOnMouseEnter (Inherited from Control.)
Protected methodOnMouseLeave (Inherited from Control.)
Protected methodOnMouseLeftButtonDown (Inherited from Control.)
Protected methodOnMouseLeftButtonUp (Inherited from Control.)
Protected methodOnMouseMove (Inherited from Control.)
Protected methodOnMouseRightButtonDown (Inherited from Control.)
Protected methodOnMouseRightButtonUp (Inherited from Control.)
Protected methodOnMouseWheel (Inherited from Control.)
Protected methodOnTap (Inherited from Control.)
Protected methodOnTextInput (Inherited from Control.)
Protected methodOnTextInputStart (Inherited from Control.)
Protected methodOnTextInputUpdate (Inherited from Control.)
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodReleaseMouseCapture (Inherited from UIElement.)
Public methodRemoveHandler (Inherited from UIElement.)
Public methodSetBinding (Inherited from FrameworkElement.)
Public methodSetValue (Inherited from DependencyObject.)
Public methodStopLoadingStops asynchronous navigations that have not yet been processed.
Public methodToString (Inherited from Object.)
Public methodTransformToVisual (Inherited from UIElement.)
Public methodUpdateLayout (Inherited from UIElement.)
Top
  NameDescription
Public eventBindingValidationError (Inherited from FrameworkElement.)
Public eventDoubleTap (Inherited from UIElement.)
Public eventFragmentNavigationOccurs when navigation to a content fragment begins.
Public eventGotFocus (Inherited from UIElement.)
Public eventHold (Inherited from UIElement.)
Public eventIsEnabledChanged (Inherited from Control.)
Public eventKeyDown (Inherited from UIElement.)
Public eventKeyUp (Inherited from UIElement.)
Public eventLayoutUpdated (Inherited from FrameworkElement.)
Public eventLoaded (Inherited from FrameworkElement.)
Public eventLostFocus (Inherited from UIElement.)
Public eventLostMouseCapture (Inherited from UIElement.)
Public eventManipulationCompleted (Inherited from UIElement.)
Public eventManipulationDelta (Inherited from UIElement.)
Public eventManipulationStarted (Inherited from UIElement.)
Public eventMouseEnter (Inherited from UIElement.)
Public eventMouseLeave (Inherited from UIElement.)
Public eventMouseLeftButtonDown (Inherited from UIElement.)
Public eventMouseLeftButtonUp (Inherited from UIElement.)
Public eventMouseMove (Inherited from UIElement.)
Public eventMouseWheel (Inherited from UIElement.)
Public eventNavigatedOccurs when the content that is being navigated to has been found and is available.
Public eventNavigatingOccurs when a new navigation is requested.
Public eventNavigationFailedOccurs when an error is encountered while navigating to the requested content.
Public eventNavigationStoppedOccurs 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.
Public eventSizeChanged (Inherited from FrameworkElement.)
Public eventTap (Inherited from UIElement.)
Public eventTextInput (Inherited from UIElement.)
Public eventTextInputStart (Inherited from UIElement.)
Public eventTextInputUpdate (Inherited from UIElement.)
Public eventUnloaded (Inherited from FrameworkElement.)
Top
  NameDescription
Public fieldStatic memberCacheSizePropertyIdentifies the CacheSize dependency property.
Public fieldStatic memberCanGoBackPropertyIdentifies the CanGoBack dependency property.
Public fieldStatic memberCanGoForwardPropertyIdentifies the CanGoForward dependency property.
Public fieldStatic memberCurrentSourcePropertyIdentifies the CurrentSource dependency property.
Public fieldStatic memberJournalOwnershipPropertyIdentifies the JournalOwnership dependency property.
Public fieldStatic memberSourcePropertyIdentifies the Source dependency property.
Public fieldStatic memberUriMapperPropertyIdentifies the UriMapper dependency property.
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)
© 2013 Microsoft. All rights reserved.