EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.
0 sur 1 ont trouvé cela utile - Évaluez ce sujet

Pivot Class

July 26, 2012

The Pivot control provides a quick way to manage the navigation of views within an application. The control can be used as a navigation interface for filtering large sets or switching between views.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone.Controls (in Microsoft.Phone.Controls.dll)
XMLNS for XAML: Not mapped to an xmlns.
[TemplatePartAttribute(Name = "PivotItemPresenter", Type = typeof(ItemsPresenter))]
[StyleTypedPropertyAttribute(Property = "ItemContainerStyle", StyleTargetType = typeof(PivotItem))]
[TemplatePartAttribute(Name = "HeadersListElement", Type = typeof(PivotHeadersControl))]
public class Pivot : TemplatedItemsControl<PivotItem>

The Pivot type exposes the following members.

  NameDescription
Public methodPivotInitializes a new instance of the Pivot type.
Top
  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 propertyClip (Inherited from UIElement.)
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 propertyDisplayMemberPath (Inherited from ItemsControl.)
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 propertyHeaderTemplateGets or sets the template for the Header property of PivotItem children.
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 propertyItemContainerGenerator (Inherited from ItemsControl.)
Public propertyItemContainerStyleGets or sets the ItemContainerStyle. (Inherited from TemplatedItemsControl<T>.)
Public propertyItems (Inherited from ItemsControl.)
Public propertyItemsPanel (Inherited from ItemsControl.)
Public propertyItemsSource (Inherited from ItemsControl.)
Public propertyItemTemplate (Inherited from ItemsControl.)
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 propertySelectedIndexGets or sets the index of the selected (current) PivotItem.
Public propertySelectedItemGets or sets the selected (current) PivotItem.
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 propertyTitleGets or sets the title to be optionally set above the headers.
Public propertyTitleTemplateGets or sets the title template used for displaying the title above the headers area.
Public propertyTriggers (Inherited from FrameworkElement.)
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.)
Protected methodApplyItemContainerStyleApply the ItemContainerStyle. (Inherited from TemplatedItemsControl<T>.)
Public methodApplyTemplate (Inherited from Control.)
Public methodArrange (Inherited from UIElement.)
Protected methodArrangeOverridePositions child elements and determines a size for a FrameworkElement derived class. (Overrides FrameworkElement.ArrangeOverride(Size).)
Public methodCaptureMouse (Inherited from UIElement.)
Public methodCheckAccess (Inherited from DependencyObject.)
Protected methodClearContainerForItemOverrideWhen overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride method. (Inherited from TemplatedItemsControl<T>.)
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.)
Protected methodGetContainerGets the container associated with the specified item. (Inherited from TemplatedItemsControl<T>.)
Protected methodGetContainerForItemOverrideCreates or identifies the element that is used to display the given item. (Inherited from TemplatedItemsControl<T>.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets the item associated with the specified container. (Inherited from TemplatedItemsControl<T>.)
Protected methodGetTemplateChild (Inherited from Control.)
Public methodGetType (Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Public methodInvalidateArrange (Inherited from UIElement.)
Public methodInvalidateMeasure (Inherited from UIElement.)
Protected methodIsItemItsOwnContainerOverrideDetermines whether the specified item is (or is eligible to be) its own container. (Inherited from TemplatedItemsControl<T>.)
Public methodMeasure (Inherited from UIElement.)
Protected methodMeasureOverrideMeasures the size in layout required for child elements and determines a size for the FrameworkElement-derived class. (Overrides FrameworkElement.MeasureOverride(Size).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnApplyTemplateOverrides the on apply template method to connect template parts. (Overrides FrameworkElement.OnApplyTemplate().)
Protected methodOnCreateAutomationPeer (Inherited from UIElement.)
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 methodOnItemsChangedUpdate the header items when there are changes in the pivot items collection. (Overrides ItemsControl.OnItemsChanged(NotifyCollectionChangedEventArgs).)
Protected methodOnKeyDown (Inherited from Control.)
Protected methodOnKeyUp (Inherited from Control.)
Protected methodOnLoadedPivotItemOverride for notifying that an item has loaded.
Protected methodOnLoadingPivotItemOverrride for creating content for a given item.
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 methodOnSelectionChangedResponds to a pivot selection change by raising a SelectionChanged event.
Protected methodOnTap (Inherited from Control.)
Protected methodOnTextInput (Inherited from Control.)
Protected methodOnTextInputStart (Inherited from Control.)
Protected methodOnTextInputUpdate (Inherited from Control.)
Protected methodOnUnloadedPivotItemThe unloaded event handler.
Protected methodOnUnloadingPivotItemThe unloading event handler.
Protected methodPrepareContainerForItemOverridePrepares the container to display the specified item. (Overrides TemplatedItemsControl<T>.PrepareContainerForItemOverride(DependencyObject, Object).)
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 methodToString (Inherited from Object.)
Public methodTransformToVisual (Inherited from UIElement.)
Protected methodUpdateItemVisibilityShows or hides an item.
Public methodUpdateLayout (Inherited from UIElement.)
Top
  NameDescription
Public eventBindingValidationError (Inherited from FrameworkElement.)
Public eventDoubleTap (Inherited from UIElement.)
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 eventLoadedPivotItemEvent for indicating that an item has fully loaded.
Public eventLoadingPivotItemEvent for offering an opportunity to dynamically load or change the content of a pivot item before it is displayed.
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 eventSelectionChangedOccurs when the currently selected item changes.
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.)
Public eventUnloadedPivotItemEvent for notifying that the pivot item has been completely unloaded from the visual pivot.
Public eventUnloadingPivotItemEvent for offering an opportunity to dynamically load, change, or remove the content of a pivot item as it is removed.
Top
  NameDescription
Public fieldStatic memberHeaderTemplatePropertyIdentifies the HeaderTemplate dependency property.
Public fieldStatic memberSelectedIndexPropertyIdentifies the SelectedIndex dependency property.
Public fieldStatic memberSelectedItemPropertyIdentifies the SelectedItem dependency property.
Public fieldStatic memberTitlePropertyIdentifies the Title dependency property.
Public fieldStatic memberTitleTemplatePropertyIdentifies the TitleTemplate 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.

Cela vous a-t-il été utile ?
(1500 caractères restants)
© 2013 Microsoft. Tous droits réservés.