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.
Members
The Windows.UI.Xaml.Controls.Primitives namespace has these types of members:
Classes
The Windows.UI.Xaml.Controls.Primitives namespace has these classes.
| Class | Description |
|---|---|
| ButtonBase | Represents the base class for all button controls, such as Button, RepeatButton, and HyperlinkButton. |
| 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 | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ComboBox control. Not intended for general use. |
| DragCompletedEventArgs | Provides data for the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control. |
| DragDeltaEventArgs | Provides data for the DragDelta event that occurs one or more times when a user drags a Thumb control with the mouse. |
| DragStartedEventArgs | Provides data for the DragStarted event that occurs when a user drags a Thumb control with the mouse. |
| GeneratorPositionHelper | Provides utility methods for evaluating and creating GeneratorPosition structure values. C# and Microsoft Visual Basic code should use members of GeneratorPosition instead. |
| GridViewItemTemplateSettings | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a GridView control. Not intended for general use. |
| ItemsChangedEventArgs | Provides data for the ItemsChanged event. |
| LayoutInformation | Defines methods that provide additional information about the layout of an element. |
| ListViewItemTemplateSettings | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ListViewItem. Not intended for general use. |
| OrientedVirtualizingPanel | Adds infrastructure (provides base class) for virtualizing layout containers that support spatial cues, such as VirtualizingStackPanel and WrapGrid. |
| Popup | Displays content on top of existing content, within the bounds of the application window. |
| ProgressBarTemplateSettings | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressBar control. Not intended for general use. |
| ProgressRingTemplateSettings | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressRing control. Not intended for general use. |
| RangeBase | Represents an element that has a value within a specific range, such as the ProgressBar, ScrollBar, and Slider controls. |
| RangeBaseValueChangedEventArgs | Provides data about a change in range value for the ValueChanged event. |
| RepeatButton | Represents a control that fires its Click event repeatedly until the click mode is released. |
| ScrollBar | Represents a control that provides a scroll bar that has a sliding Thumb whose position corresponds to a value. |
| ScrollEventArgs | Provides data for the Scroll event. |
| Selector | Represents a control that allows a user to select an item from a collection of items. |
| SelectorItem | Provides a base class for ListViewItem or potentially for other item types in a selection control. |
| Thumb | Represents a control that can be dragged by the user. |
| TickBar | Represents a tick mark on a Slider control. Not intended for general use. |
| ToggleButton | Base class for controls that can switch states, such as CheckBox and RadioButton. |
| ToggleSwitchTemplateSettings | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ToggleSwitch control. Not intended for general use. |
| ToolTipTemplateSettings | Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ToolTip control. Not intended for general use. |
Delegates
The Windows.UI.Xaml.Controls.Primitives namespace has these delegates.
| Delegate | Description |
|---|---|
| DragCompletedEventHandler | Represents the method that will handle the DragCompleted event of a Thumb. |
| DragDeltaEventHandler | Represents the method that will handle the DragDelta event of a Thumb. |
| DragStartedEventHandler | Represents the method that will handle the DragStarted event of a Thumb. |
| ItemsChangedEventHandler | Represents the method that will handle the ItemsChanged event. |
| RangeBaseValueChangedEventHandler | Represents the method that will handle a ValueChanged event. |
| ScrollEventHandler | Represents the method that will handle the Scroll event of a ScrollBar. |
Enumerations
The Windows.UI.Xaml.Controls.Primitives namespace has these enumerations.
| Enumeration | Description |
|---|---|
| AnimationDirection | Defines constants that specify the direction in which an animation translates from start to end. |
| ComponentResourceLocation | Defines constants that specify the lookup behavior for references to application resources by Uniform Resource Identifier (URI) path. |
| EdgeTransitionLocation | Defines constants that specify the location of edge transitions for edge UI, such as app bars. |
| GeneratorDirection | Defines constants that specify the direction in which item generation will occur. |
| PlacementMode | Defines constants that specify the preferred location for positioning a ToolTip relative to a visual element. |
| ScrollEventType | Defines constants that specify the type of Scroll event that occurred. |
| ScrollingIndicatorMode | Defines constants that specify input-specific transition animations that are part of the default template for ScrollBar. |
| SliderSnapsTo | Defines constants that specify how a Slider or related range control class conforms the indicator position to its steps or tick marks. |
| SnapPointsAlignment | Defines constants that specify options for snap point alignment relative to an edge. Which edge depends on orientation. |
| TickPlacement | Defines constants that specify the position of tick marks in a Slider in relation to the track that the control implements. |
Interfaces
The Windows.UI.Xaml.Controls.Primitives namespace defines these interfaces.
| Interface | Description |
|---|---|
| IScrollSnapPointsInfo | Describes snap point behavior for objects that contain and present items. |
Structures
The Windows.UI.Xaml.Controls.Primitives namespace has these structures.
| Structure | Description |
|---|---|
| GeneratorPosition | GeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
Build date: 3/12/2013