---
title: "BaseViewer..::.ScrollBarsStyle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_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/)

# BaseViewer.ScrollBarsStyle Property 
 
Gets/sets a value that specifies whether to display scroll bars and whether to hide them automatically when the displayed content is less than the control size.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
<BrowsableAttribute(True)> _
Public Property ScrollBarsStyle As ScrollBarsStyle
```
 
```csharp
[BrowsableAttribute(true)]
public ScrollBarsStyle ScrollBarsStyle { get; set; }
```
 
### Property Value
The [ScrollBarsStyle](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_ScrollBarsStyle.htm.md) enumeration member that specifies when to display scroll bars.
 
## Remarks
  
Default value is [Auto](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_ScrollBarsStyle.htm.md).
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
