Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides types for implementing the user interface (UI) for a control's custom design time.
The Microsoft.Windows.Design.Interaction namespace provides classes for creating custom context menu items, adorners, and user gestures. Derive from PrimarySelectionAdornerProvider to implement an adorner provider for the selected element on the design surface. Derive from PrimarySelectionContextMenuProvider to implement a MenuGroup for a context menu. Derive from the Task class to implement gestures like drag-and-drop.
Classes
Class | Description | |
---|---|---|
![]() |
Adapter | Used to adapt logic for a particular item. |
![]() |
AdornerColors | Provides a set of common brushes that can be used on adorners. |
![]() |
AdornerCoordinateSpace | Infrastructure. Defines a 2D coordinate space for use in AdornerPanel. |
![]() |
AdornerCoordinateSpaces | Defines the two common coordinate spaces used in the designer. |
![]() |
AdornerFonts | Provides a set of common brushes that can be used on adorners. |
![]() |
AdornerLayout | Performs the layout of an adorner on the DesignerView. |
![]() |
AdornerOrder | Specifies the z-order of adorners in Design view. |
![]() |
AdornerPanel | Provides a container for Windows Presentation foundation (WPF) controls, which are used at design time as adorners. |
![]() |
AdornerPlacementCollection | Enables precise placement of adorners within an AdornerPanel. |
![]() |
AdornerProperties | Defines a set of attached properties for a UI element to enable adorner appearance and behavior. |
![]() |
AdornerProvider | A feature provider that you can add to a class to automatically add adorners to the designer surface. |
![]() |
AdornerResources | Used to define a set of resources that can be used in XAML. |
![]() |
CanExecuteToolEventArgs | Provides data for the CanExecute event. |
![]() |
CommandExceptionEventArgs | Provides data for the CommandException event defined on the DesignerView class. |
![]() |
ContextMenuProvider | Defines a set of menu items that are shown in a context menu. |
![]() |
CreationCommands | Represents a set of static command definitions for tool creation commands. |
![]() |
CreationTool | A tool that is used to create new instances of objects on the designer. |
![]() |
CreationToolAttribute | Identifies the creation tool that should be used to create an instance of a specified type. |
![]() |
CurrentDesignerView | A context item that is used to store and report the current designer view that is being used in the editing context. |
![]() |
DesignerCommands | Represents commands associated with a designer. |
![]() |
DesignerView | Provides a visual design surface for the designer. |
![]() |
DragGestureData | Provides additional information during a drag-and-drop operation. |
![]() |
ExecutedToolEventArgs | Provides data for the Executed event. |
![]() |
FocusedTask | Contains the task that currently has the focus in a tool. |
![]() |
GestureData | Provides information about a gesture. |
![]() |
MatchGestureEventArgs | Provides data for the MatchGesture event. |
![]() |
MenuAction | A context menu item which represents an action to take in the designer. |
![]() |
MenuActionEventArgs | Provides data for MenuAction events. |
![]() |
MenuBase | Provides a base class for both actions and groups. |
![]() |
MenuGroup | Represents a group of menu items. |
![]() |
MouseGestureData | Provides information about the mouse position. |
![]() |
ParentAdapter | Provides an extension point for any type that can be a parent of child objects. |
![]() |
PlacementAdapter | An adapter that is used to get and set positions of objects in parent coordinates. |
![]() |
PrimarySelectionAdornerProvider | Offers a set of adorners that are shown for the primary selection. |
![]() |
PrimarySelectionContextMenuProvider | Offers a set of MenuGroup items that are shown for the current selection. |
![]() |
PrimarySelectionTaskProvider | Provides a set of tasks that are available from the selection tool when a class is in the primary selection. |
![]() |
RelativePosition | Represents a position on the designer that remains independent of coordinate systems. |
![]() |
RelativePositions | Represents a set of static instances of common RelativePositions objects. |
![]() |
RelativeValueCollection | Represents a collection of values that describe the placement of an item within a panel or container on the designer surface. |
![]() |
RootPlacementAdapter | Provides placement support for any element that does not have a parent. |
![]() |
Selection | Represents a set of objects selected by a user in a designer. |
![]() |
SelectionCommands | Provides standard commands that control the selection of objects in a designer. |
![]() |
SelectionOperations | Provides standard operations that control the programmatic selection of objects in a designer. |
![]() |
SelectionTool | Represents a tool that selects objects in a designer, such as a mouse pointer. |
![]() |
Task | Represents a collection of commands and input bindings to those commands. |
![]() |
TaskProvider | A feature provider that you can add to a class to automatically add tasks to the active tool. |
![]() |
Tool | Represents a tool that determines the mode of the designer. |
![]() |
ToolActionEventArgs | Provides data for ToolAction events. |
![]() |
ToolCommand | Acts as a command identifier and as a unified way of invoking a particular command. |
![]() |
ToolCommandBinding | Acts as a bridge between a command and an event handler which implements it. |
![]() |
ToolCommandBindingCollection | Represents a collection of tool command bindings. |
![]() |
ToolGesture | Represents a tool interaction with the mouse. |
![]() |
ViewHitTestResult | Represents the return value from a hit test in the HitTest method. |
![]() |
ViewItem | An abstract class that enables interaction with view objects. |
![]() |
WheelGestureData | Provides gesture data about the mouse wheel. |
Structures
Structure | Description | |
---|---|---|
![]() |
AdornerPlacementValue | Represents a single value in an AdornerPlacementCollection. |
![]() |
RelativePoint | Defines a point that consists of an X and Y location and a RelativePosition class that defines the relationship of those coordinates to some other object. |
![]() |
RelativeValue | Represents a coordinate on the designer. |
Interfaces
Interface | Description | |
---|---|---|
![]() |
IAdornerPlacement | Specifies a placement term for an AdornerPlacementCollection. |
Delegates
Delegate | Description | |
---|---|---|
![]() |
CanExecuteToolEventHandler | Represents the method that will handle the CanExecute events for tool commands. |
![]() |
ExecutedToolEventHandler | Represents the method that will handle the Executed events for tool commands. |
![]() |
LoadResourcesCallback | Used when a resource for the specified key must be located. |
![]() |
ModelHitTestFilterCallback | A callback delegate that can be assigned to the ModelFilter property of a transacted task. |
![]() |
ViewHitTestFilterCallback | Represents the callback method that specifies which parts of the visual tree to omit from hit test processing in the HitTest method. |
![]() |
ViewHitTestResultCallback | Represents a callback that is used to customize hit testing in the HitTest method. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
AdornerHorizontalAlignment | An enumeration that defines the horizontal alignment of an adorner relative to an element on a design surface. |
![]() |
AdornerPlacementDimension | An enumeration that defines the dimension that should be applied to an AdornerPlacementValue structure. |
![]() |
AdornerStretch | An enumeration used to identify how the particular dimension (X or Y) of an adorner behaves when Design view is scaled. |
![]() |
AdornerVerticalAlignment | An enumeration that defines the vertical alignment of an adorner relative to an element on a design surface. |
![]() |
NudgeIntent | An enumeration that indicates the method a PlacementAdapter uses to move controls during keyboard nudges. |
![]() |
PlacementIntent | An enumeration that indicates the method a PlacementAdapter uses to place controls. |
![]() |
ToolAction | Represents a user gesture. |