Редагувати

Поділитися через


System.Windows.Controls.Primitives Namespace

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

Classes

BulletDecorator

Represents a layout control that aligns a bullet and another visual object.

ButtonBase

Represents the base class for all Button controls.

CalendarButton

Represents a month or year on a Calendar object.

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.

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.

DocumentPageView

Represents a viewport for a paginated DocumentPage.

DocumentViewerBase

Provides a base class for viewers that are intended to display fixed or flow content (represented by a FixedDocument or FlowDocument, respectively).

DragCompletedEventArgs

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

DragDeltaEventArgs

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

DragStartedEventArgs

Provides information about the DragStarted event that occurs when a user drags a Thumb control with the mouse.

GridViewRowPresenterBase

Represents the base class for classes that define the layout for a row of data where different data items are displayed in different columns.

ItemsChangedEventArgs

Provides data for the ItemsChanged event.

LayoutInformation

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

MenuBase

Represents a control that defines choices for users to select.

MultiSelector

Provides an abstract class for controls that allow multiple items to be selected.

Popup

Represents a pop-up window that has content.

RangeBase

Represents an element that has a value within a specific range.

RepeatButton

Represents a control that raises its Click event repeatedly from the time it is pressed until it is released.

ResizeGrip

Represents an implementation of a Thumb control that enables a Window to change its size.

ScrollBar

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

ScrollEventArgs

Provides data for a Scroll event that occurs when the Thumb of a ScrollBar moves.

SelectiveScrollingGrid

A panel that can hold specified cells in place when the view is scrolled.

Selector

Represents a control that allows a user to select items from among its child elements.

StatusBar

Represents a control that displays items and information in a horizontal bar in an application window.

StatusBarItem

Represents an item of a StatusBar control.

TabPanel

Handles the layout of the TabItem objects on a TabControl.

TextBoxBase

An abstract base class that provides functionality for text editing controls, including TextBox and RichTextBox.

Thumb

Represents a control that can be dragged by the user.

TickBar

Represents a control that draws a set of tick marks for a Slider control.

ToggleButton

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

ToolBarOverflowPanel

Used to arrange overflow ToolBar items.

ToolBarPanel

Arranges ToolBar items inside a ToolBar.

Track

Represents a control primitive that handles the positioning and sizing of a Thumb control and two RepeatButton controls that are used to set a Value.

UniformGrid

Provides a way to arrange content in a grid where all the cells in the grid have the same size.

Structs

CustomPopupPlacement

Defines custom placement parameters for a Popup control.

GeneratorPosition

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

Interfaces

IContainItemStorage

Provides a property bag implementation for item panels.

IHierarchicalVirtualizationAndScrollInfo

Provides properties through which a control that displays hierarchical data communicates with a VirtualizingPanel.

IItemContainerGenerator

An interface that is implemented by classes which are responsible for generating user interface (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

AutoToolTipPlacement

Describes the means by which the automatic ToolTip is positioned on a Slider control.

GeneratorDirection

Specifies the direction in which item generation will occur. GeneratorDirection is used by StartAt.

GeneratorStatus

Used by ItemContainerGenerator to indicate the status of its item generation.

PlacementMode

Describes the placement of where a Popup control appears on the screen.

PopupAnimation

Describes how a Popup control animates when it opens.

PopupPrimaryAxis

Describes the direction to move a Popup control to increase the amount of the Popup that is visible.

ScrollEventType

Describes the behavior that caused a Scroll event for a ScrollBar control.

TickBarPlacement

Specifies the placement of a TickBar with respect to the Track of a Slider control.

TickPlacement

Specifies the position of tick marks in a Slider control with respect to the Track that the control implements.

Delegates

CustomPopupPlacementCallback

Represents a method that provides custom positioning for a Popup control.

DragCompletedEventHandler

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

DragDeltaEventHandler

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

DragStartedEventHandler

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

ItemsChangedEventHandler

Represents the method that will handle the ItemsChanged event.

ScrollEventHandler

Represents the method that will handle the Scroll routed event that occurs when the Thumb of a ScrollBar moves.