# PointLight.CoordinateSpacePointLight.CoordinateSpacePointLight.CoordinateSpacePointLight.CoordinateSpace Property

## Definition

The Visual used to determine the light's offset. The light's offset property is relative to this Visual's coordinate space. PointLight.CoordinateSpace is a required property. If PointLight.CoordinateSpace is not set, the PointLight will not render.

``public : Visual CoordinateSpace { get; set; }``
``````Visual CoordinateSpace();

void CoordinateSpace(Visual coordinatespace);``````
``public Visual CoordinateSpace { get; set; }``
``Public ReadWrite Property CoordinateSpace As Visual``

#### Property Value

The Visual used to determine the light's offset.

## Examples

``````
_pointLight.CoordinateSpace = root;

``````

## Remarks

PointLight.Offset is relative to PointLight.CoordinateSpace . Every Visual has an implicit 3D coordinate space, defined in this way:

X direction is from left to right. Y direction is from top to bottom. Z direction is point out of the plane. The original point of this coordinate is the upper-left corner of the visual, and the unit is DIP. A light's offset is defined in this coordinate.