Show / Hide Table of Contents

Namespace System.Windows.Controls.Primitives

Classes

AccordionButton

Represents the header for an accordion item.

ButtonBase

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

CalendarButton

Represents a button on a Calendar.

CalendarDayButton

Represents a day on a Calendar.

CalendarItem

Represents the currently displayed month or year on a Calendar.

Clipper

Clips a ratio of its content.

DataGridCellsPresenter

Used within the template of a DataGrid to specify the location in the control's visual tree where the cells are to be added.

DataGridColumnHeader

Represents an individual DataGrid column header.

DataGridColumnHeadersPresenter

Used within the template of a DataGrid to specify the location in the control's visual tree where the column headers are to be added.

DataGridDetailsPresenter

Used within the template of a DataGrid to specify the location in the control's visual tree where the row details are to be added.

DataGridFrozenGrid

Represents a non-scrollable grid that contains DataGrid row headers.

DataGridRowHeader

Represents an individual DataGrid row header.

DataGridRowsPresenter

Used within the template of a DataGrid to specify the location in the control's visual tree where the rows are to be added.

DatePickerTextBox

Represents the text input of a DatePicker.

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.

ExpandableContentControl

Represents a control with a single piece of content that expands or collapses in a sliding motion to a specified desired size.

GlobalCalendarButton

Represents a button on a GlobalCalendar.

GlobalCalendarDayButton

Represents a day on a GlobalCalendar.

GlobalCalendarItem

Represents the currently displayed month or year on a GlobalCalendar.

ItemsChangedEventArgs

The ItemsChanged event is raised by an ItemContainerGenerator to inform layouts that the items collection has changed.

ItemSelectionHelper<T>

Exposes an ObservableCollection of T and a SelectedItem property for binding purposes.

LayoutInformation

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

LinearClipper

Clips the content of the control in a given direction.

MenuBase

Represents a control that defines choices for users to select.

Popup

Displays content on top of existing content, within the bounds of the application window.

RangeBase

Represents an element that has a value within a specific range, such as the see cref="ProgressBar"/>, ScrollBar, and Slider controls.

RepeatButton

Represents a control that raises its Click event repeatedly from the time it is pressed until it 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 ListBoxItem, ComboBoxItem, or potentially for other item types.

TabPanel

Handles the layout of TabItem objects on a TabControl.

Thumb

Represents a control that can be dragged by the user.

ToggleButton

Base class for controls that can switch states, such as CheckBox and RadioButton.

UniformGrid

UniformGrid is used to arrange children in a grid with all equal cell sizes.

UpDownTextBox

Primitive control - TextBox with UpPressed and DownPressed events for use in a NumericUpDown to make up and down keys work to increment and decrement the values.

VisualTreeExtensions

Provides useful extensions for working with the visual tree.

Structs

GeneratorPosition

A user of the ItemContainerGenerator describes positions using this struct. Some examples: To start generating forward from the beginning of the item list, specify position (-1, 0) and direction Forward. To start generating backward from the end of the list, specify position (-1, 0) and direction Backward. To generate the items after the element with index k, specify position (k, 0) and direction Forward.

Interfaces

IItemContainerGenerator

An interface that is implemented by classes which are responsible for generating UI content on behalf of a host.

IRecyclingItemContainerGenerator

Extends 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.

IScrollInfo

Represents the main scrollable region inside a ScrollViewer control.

Enums

GeneratorDirection

This enum is used by the ItemContainerGenerator and its client to specify the direction in which the generator produces UI.

PlacementMode

Specifies the preferred location for positioning a ToolTip relative to a visual element.

ScrollEventType

Specifies the type of Scroll event that occurred.

Delegates

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

The delegate to use for handlers that receive ItemsChangedEventArgs.

ScrollEventHandler

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