---
title: "Buttonize..::.Direction Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Buttonize_Direction.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Buttonize.Direction Property 
 
Gets/sets lighting direction used to draw button edges.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property Direction As Direction
```
 
```csharp
public Direction Direction { get; set; }
```
 
### Property Value
 [Direction](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Direction.htm.md) value specifying lightning direction used to draw button edges.
 
## Remarks
  
According to this value some edges will be colored to [LightColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Buttonize_LightColor.htm.md), another edges will be colored to [ShadowColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Buttonize_ShadowColor.htm.md).
 
Default value is [UpLeft](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Direction.htm.md).
   
## See Also

### Reference

- [Buttonize Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Buttonize.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
