protected override void UpdateShape(ArrowDirection pointerDirection)
{
switch (pointerDirection)
{
case ArrowDirection.Left: ShapePathData = Shapes.TriangleLeft; break;
case ArrowDirection.Right: ShapePathData = Shapes.TriangleRight; break;
case ArrowDirection.Up: ShapePathData = Shapes.TriangleUp; break;
case ArrowDirection.Down: ShapePathData = Shapes.TriangleDown; break;
default: throw new NotSupportedException(PointerDirection.ToString());
}
}
}