---
title: "BaseViewer..::.scrollBarsStyle Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_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 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:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_scrollBarsStyle();
```
 
### Property Value
The [ScrollBarsStyle](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_ScrollBarsStyle.htm.md) enumeration member that specifies when to display scroll bars.
 
## Remarks
  
This property corresponds to [BaseViewer.ScrollBarsStyle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ScrollBarsStyle.htm.md) server-side member.
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
