Collapse the table of content
Expand the table of content

System.Windows.Controls.Primitives Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Contains base classes and controls that are intended to be used as part of more complex controls.

Public classButtonBaseRepresents the base class for all button controls, such as Button, RepeatButton, and HyperlinkButton.
Public classDragCompletedEventArgsProvides data for the DragCompleted event that occurs when a user completes a drag operation with a Thumb control.
Public classDragDeltaEventArgsProvides data for the DragDelta event that occurs one or more times when a user drags a Thumb control.
Public classDragStartedEventArgsProvides data for the DragStarted event that occurs when a user drags a Thumb control.
Public classItemsChangedEventArgsProvides data for the ItemsChanged event.
Public classLayoutInformationDefines methods that provide additional information about the layout of an element.
Public classManipulationStateChangedEventArgsProvides data for the ManipulationStateChanged event.
Public classPopupDisplays content on top of existing application content.
Public classRangeBaseRepresents an element that has a value within a specific range, such as the ProgressBar, ScrollBar, and Slider controls.
Public classRepeatButtonRepresents a control that raises its Click event repeatedly from the time it is pressed until it is released.
Public classScrollBarRepresents a control that provides a scroll bar that has a sliding Thumb whose position corresponds to a value.
Public classScrollEventArgsProvides data for the Scroll event.
Public classSelectorRepresents a control that allows a user to select an item from a collection of items.
Public classThumbRepresents a control that can be dragged by the user.
Public classToggleButtonBase class for controls that can switch states, such as CheckBox and RadioButton.
Public classViewportChangedEventArgsProvides data for the ViewportChanged event.
Public classViewportControlRepresents the virtualized scrollable region in the LongListSelector.

Public structureGeneratorPositionGeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator.

Public interfaceIItemContainerGeneratorAn interface that is implemented by classes which are responsible for generating UI content on behalf of a host.
Public interfaceIRecyclingItemContainerGeneratorExtends the IItemContainerGenerator interface to reuse the UI content it generates. Classes that are responsible for generating user interface (UI) content on behalf of a host implement this interface.
Public interfaceIScrollInfoRepresents the main scrollable region inside a ScrollViewer control.

Public delegateDragCompletedEventHandlerRepresents the method that will handle the DragCompleted event of a Thumb.
Public delegateDragDeltaEventHandlerRepresents the method that will handle the DragDelta event of a Thumb.
Public delegateDragStartedEventHandlerRepresents the method that will handle the DragStarted event of a Thumb.
Public delegateItemsChangedEventHandlerRepresents the method that will handle the ItemsChanged event.
Public delegateScrollEventHandlerRepresents the method that will handle the Scroll event of a ScrollBar.

Public enumerationGeneratorDirectionSpecifies the direction in which item generation will occur.
Public enumerationManipulationLockModeSpecifies values that you can use to lock manipulation on ViewportControl.
Public enumerationManipulationStateSpecifies the different mutually exclusive manipulation states of the ViewPortControl.
Public enumerationPlacementModeInfrastructure. Specifies the preferred location for positioning a ToolTip relative to a visual element.
Public enumerationScrollEventTypeInfrastructure. Specifies the type of Scroll event that occurred.

© 2017 Microsoft