> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# IsStayInDrawMode

## Definition

Indicates **Stay in Draw Mode** is currently enabled on the chart.

## Property Value

A bool value. When True, indicates that Stay in Draw Mode is enabled on the chart; otherwise False.

## Syntax

`\<chartcontrol\>.IsStayInDrawMode`

## Examples

```csharp
protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
{
   // Print a message if Stay in Draw Mode is enabled
   if(chartControl.IsStayInDrawMode);
       Print("Stay in Draw Mode is currently enabled");
}
```