DirectionPad

Inherits UserControl.


A rectangular control that enables specifying a direction by clicking a directional arrow. Directional arrows make all arrows shift in corresponding direction when clicked.

This control was inspired by Adobe Photoshop's anchor control in the Canvas Size dialog and behaves identically. The difference is Adobe's center button is not clickable.

Preview

Usage

<Controls.Common:DirectionPad CompassDirection="{Binding CurrentDirection}"/>

Properties

Name Type Description
CompassDirection CompassDirection Gets or sets the direction (N | NE | NW | W | E | Origin | S | SW | SE).

Last edited Sep 1, 2016 at 2:41 AM by imagin, version 3