System.Windows.Controls.Primitives Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Contains base classes and controls that are intended to be used as part of more complex controls.
Classes
Class | Description | |
---|---|---|
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. | |
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. | |
ItemsChangedEventArgs | Provides data for the ItemsChanged event. | |
LayoutInformation | Defines methods that provide additional information about the layout of an element. | |
Popup | Displays content on top of existing Silverlight content, within the bounds of the Silverlight control. | |
RangeBase | Represents an element that has a value within a specific range, such as the 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. | |
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. |
Structures
Structure | Description | |
---|---|---|
GeneratorPosition | GeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator. |
Interfaces
Interface | Description | |
---|---|---|
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. |
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. | |
ScrollEventHandler | Represents the method that will handle the Scroll event of a ScrollBar. |
Enumerations
Enumeration | Description | |
---|---|---|
GeneratorDirection | Specifies the direction in which item generation will occur. | |
PlacementMode | Specifies the preferred location for positioning a ToolTip relative to a visual element. | |
ScrollEventType | Specifies the type of Scroll event that occurred. |