---
title: "BitmapViewer..::.BitmapStateEnabled Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_BitmapStateEnabled.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/)

# BitmapViewer.BitmapStateEnabled Property 
 
Gets/sets a value which specifies whether the bitmap specified in the [Bitmap](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_Bitmap.htm.md) property should be stored between server roundtrips.
 
**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 BitmapStateEnabled As Boolean
```
 
```csharp
[BrowsableAttribute(true)]
public bool BitmapStateEnabled { get; set; }
```
 
### Property Value
If **true**, the control tracks the bitmap specified in the [Bitmap](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_Bitmap.htm.md) property and restores its state when the page reloads. If **false**, the bitmap state is lost as soon as the page is unloaded. In this case when the page will be reloaded, the [Bitmap](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_Bitmap.htm.md) property will contain no bitmap.
   
## See Also

### Reference

- [BitmapViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BitmapViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
