---
title: "ViewerBase..::.ScrollBarsStyle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_ViewerBase_ScrollBarsStyle.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/)

# ViewerBase.ScrollBarsStyle Property 
 
Gets/sets a value that specifies how to display scroll bars. The following three modes are supported:

- scroll bars are always displayed regardless to the control content dimensions;
- scroll bars are displayed when control content is too large to fit the control client area;
- scroll bars are never displayed.

**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public MustOverride Property ScrollBarsStyle As ScrollBarsStyle
```
 
```csharp
public abstract ScrollBarsStyle ScrollBarsStyle { get; set; }
```
 
### Property Value
The [ScrollBarsStyle](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ScrollBarsStyle.htm.md) enumeration member that specifies when to display the scroll bars.
   
## See Also

### Reference

- [ViewerBase Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ViewerBase.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
