Windows.​UI.​Xaml.​Controls.​Primitives Windows.​UI.​Xaml.​Controls.​Primitives Windows.​UI.​Xaml.​Controls.​Primitives Namespace

Defines classes that represent the component parts of UI controls, or otherwise support the control composition model. Also defines interfaces for control patterns such as snapping and selection.

Classes

AppBarTemplateSettings AppBarTemplateSettings AppBarTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for an AppBar control. Not intended for general use.

ButtonBase ButtonBase ButtonBase

Represents the base class for all button controls, such as Button, RepeatButton, and HyperlinkButton.

CalendarPanel CalendarPanel CalendarPanel

Represents a panel that contains a calendar.

CalendarViewTemplateSettings CalendarViewTemplateSettings CalendarViewTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a CalendarView control. Not intended for general use.

CarouselPanel CarouselPanel CarouselPanel

Represents a panel that arranges its items in a line and circles around to the first item when the last item is reached.

ComboBoxTemplateSettings ComboBoxTemplateSettings ComboBoxTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ComboBox control. Not intended for general use.

CommandBarTemplateSettings CommandBarTemplateSettings CommandBarTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a CommandBar control. Not intended for general use.

DragCompletedEventArgs DragCompletedEventArgs DragCompletedEventArgs

Provides data for the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control.

DragDeltaEventArgs DragDeltaEventArgs DragDeltaEventArgs

Provides data for the DragDelta event that occurs one or more times when a user drags a Thumb control with the mouse.

DragStartedEventArgs DragStartedEventArgs DragStartedEventArgs

Provides data for the DragStarted event that occurs when a user drags a Thumb control with the mouse.

FlyoutBase FlyoutBase FlyoutBase

Represents the base class for flyout controls, such as Flyout and MenuFlyout.

FlyoutBaseClosingEventArgs FlyoutBaseClosingEventArgs FlyoutBaseClosingEventArgs

Provides data for the FlyoutBase.Closing event

GeneratorPositionHelper GeneratorPositionHelper GeneratorPositionHelper

Provides utility methods for evaluating and creating GeneratorPosition structure values. C# and Microsoft Visual Basic code should use members of GeneratorPosition instead.

GridViewItemPresenter GridViewItemPresenter GridViewItemPresenter

Represents the visual elements of a GridViewItem. When developing for Windows 10, use ListViewItemPresenter instead of GridViewItemPresenter in your item container style, both for ListView and for GridView. If you edit a copy of the default item container styles then you will get the correct type.

GridViewItemTemplateSettings GridViewItemTemplateSettings GridViewItemTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a GridView control. Not intended for general use.

ItemsChangedEventArgs ItemsChangedEventArgs ItemsChangedEventArgs

Provides data for the ItemsChanged event.

JumpListItemBackgroundConverter JumpListItemBackgroundConverter JumpListItemBackgroundConverter

Provides the appropriate background Brush for elements in the item template of a jump list to bind to. The Brush reflects the current theme and accent color, and it's also used to shade empty-group jump list items. By default, the Brush matches built-in apps, but you can override that to suit your design needs using the Enabled and Disabled properties.

JumpListItemForegroundConverter JumpListItemForegroundConverter JumpListItemForegroundConverter

Provides the appropriate foreground Brush for elements in the item template of a jump list to bind to. The Brush reflects the current theme and accent color, and it's also used to shade empty-group jump list items. By default, the Brush matches built-in apps, but you can override that to suit your design needs using the Enabled and Disabled properties.

LayoutInformation LayoutInformation LayoutInformation

Defines methods that provide additional information about the layout of an element.

ListViewItemPresenter ListViewItemPresenter ListViewItemPresenter

Represents the visual elements of a ListViewItem. When developing for Windows 10, use ListViewItemPresenter instead of GridViewItemPresenter in your item container style, both for ListView and for GridView. If you edit a copy of the default item container styles then you will get the correct type.

ListViewItemTemplateSettings ListViewItemTemplateSettings ListViewItemTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ListViewItem. Not intended for general use.

LoopingSelector LoopingSelector LoopingSelector

An infinitely scrolling selection control.

LoopingSelectorItem LoopingSelectorItem LoopingSelectorItem

An item that is contained in a LoopingSelector control.

LoopingSelectorPanel LoopingSelectorPanel LoopingSelectorPanel

A panel for positioning and arranging child LoopingSelector elements.

MenuFlyoutPresenterTemplateSettings MenuFlyoutPresenterTemplateSettings MenuFlyoutPresenterTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a MenuFlyoutPresenter control. Not intended for general use.

OrientedVirtualizingPanel OrientedVirtualizingPanel OrientedVirtualizingPanel

Adds infrastructure (provides base class) for virtualizing layout containers that support spatial cues, such as VirtualizingStackPanel and WrapGrid.

PickerFlyoutBase PickerFlyoutBase PickerFlyoutBase

Represents a base class for picker controls.

PivotHeaderItem PivotHeaderItem PivotHeaderItem

Represents a header item in the specialized pivot header items control.

PivotHeaderPanel PivotHeaderPanel PivotHeaderPanel

Displays the header text of the items in a Pivot control.

PivotPanel PivotPanel PivotPanel

Displays the items in a Pivot control.

ProgressBarTemplateSettings ProgressBarTemplateSettings ProgressBarTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressBar control. Not intended for general use.

ProgressRingTemplateSettings ProgressRingTemplateSettings ProgressRingTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressRing control. Not intended for general use.

RangeBase RangeBase RangeBase

Represents an element that has a value within a specific range, such as the ProgressBar, ScrollBar, and Slider controls.

RangeBaseValueChangedEventArgs RangeBaseValueChangedEventArgs RangeBaseValueChangedEventArgs

Provides data about a change in range value for the ValueChanged event.

RepeatButton RepeatButton RepeatButton

Represents a control that raises its Click event repeatedly when it is pressed and held.

ScrollBar ScrollBar ScrollBar

Represents a control that provides a scroll bar that has a sliding Thumb whose position corresponds to a value.

ScrollEventArgs ScrollEventArgs ScrollEventArgs

Provides data for the Scroll event.

Selector Selector Selector

Represents a control that enables a user to select an item from a collection of items.

SelectorItem SelectorItem SelectorItem

Provides a base class for item types in a selection control.

SettingsFlyoutTemplateSettings SettingsFlyoutTemplateSettings SettingsFlyoutTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a SettingsFlyout control. Not intended for general use.

SplitViewTemplateSettings SplitViewTemplateSettings SplitViewTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a SplitView. Not intended for general use.

Thumb Thumb Thumb

Represents a control that can be dragged by the user.

TickBar TickBar TickBar

Represents a tick mark on a Slider control. Not intended for general use.

ToggleButton ToggleButton ToggleButton

Represents a control that a user can select (check) or clear (uncheck). Base class for controls that can switch states, such as CheckBox and RadioButton.

ToggleSwitchTemplateSettings ToggleSwitchTemplateSettings ToggleSwitchTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ToggleSwitch control. Not intended for general use.

ToolTipTemplateSettings ToolTipTemplateSettings ToolTipTemplateSettings

Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ToolTip control. Not intended for general use.

Structs

GeneratorPosition GeneratorPosition GeneratorPosition

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

Interfaces

IScrollSnapPointsInfo IScrollSnapPointsInfo IScrollSnapPointsInfo

Describes snap point behavior for objects that contain and present items.

Enums

AnimationDirection AnimationDirection AnimationDirection

Defines constants that specify the direction in which an animation translates from start to end.

ComponentResourceLocation ComponentResourceLocation ComponentResourceLocation

Defines constants that specify the lookup behavior for references to application resources by Uniform Resource Identifier (URI) path.

EdgeTransitionLocation EdgeTransitionLocation EdgeTransitionLocation

Defines constants that specify the location of edge transitions for edge UI, such as app bars.

FlyoutPlacementMode FlyoutPlacementMode FlyoutPlacementMode

Defines constants that specify the preferred location for positioning a FlyoutBase derived control relative to a visual element.

GeneratorDirection GeneratorDirection GeneratorDirection

Defines constants that specify the direction in which item generation will occur.

GroupHeaderPlacement GroupHeaderPlacement GroupHeaderPlacement

Declares where the header is placed in relation to the items in an items grouping control.

ListViewItemPresenterCheckMode ListViewItemPresenterCheckMode ListViewItemPresenterCheckMode

Defines constants that specify the style of checkbox shown to select an item.

PlacementMode PlacementMode PlacementMode

Defines constants that specify the preferred location for positioning a ToolTip relative to a visual element.

ScrollEventType ScrollEventType ScrollEventType

Defines constants that specify the type of Scroll event that occurred.

ScrollingIndicatorMode ScrollingIndicatorMode ScrollingIndicatorMode

Defines constants that specify input-specific transition animations that are part of the default template for ScrollBar.

SliderSnapsTo SliderSnapsTo SliderSnapsTo

Defines constants that specify how a Slider or related range control class conforms the indicator position to its steps or tick marks.

SnapPointsAlignment SnapPointsAlignment SnapPointsAlignment

Defines constants that specify options for snap point alignment relative to an edge. Which edge depends on the orientation of the object where the alignment is applied.

TickPlacement TickPlacement TickPlacement

Defines constants that specify the position of tick marks in a Slider in relation to the track that the control implements.

Delegates

DragCompletedEventHandler DragCompletedEventHandler DragCompletedEventHandler

Represents the method that will handle the DragCompleted event of a Thumb.

DragDeltaEventHandler DragDeltaEventHandler DragDeltaEventHandler

Represents the method that will handle the DragDelta event of a Thumb.

DragStartedEventHandler DragStartedEventHandler DragStartedEventHandler

Represents the method that will handle the DragStarted event of a Thumb.

ItemsChangedEventHandler ItemsChangedEventHandler ItemsChangedEventHandler

Represents the method that will handle the ItemsChanged event.

RangeBaseValueChangedEventHandler RangeBaseValueChangedEventHandler RangeBaseValueChangedEventHandler

Represents the method that will handle a ValueChanged event.

ScrollEventHandler ScrollEventHandler ScrollEventHandler

Represents the method that will handle the Scroll event of a ScrollBar.