---
title: "Class ToggleButtonActiveXControl"
url: "https://reference.aspose.com/diagram/net/aspose.diagram.activexcontrols/togglebuttonactivexcontrol/"
product: "Aspose.Diagram for .NET API Reference"
description: "Aspose.Diagram.ActiveXControls.ToggleButtonActiveXControl class. Represents a ToggleButton ActiveX control"
---

## ToggleButtonActiveXControl class

Represents a ToggleButton ActiveX control.

```csharp
public class ToggleButtonActiveXControl : ActiveXControl
```

## Properties

| Name | Description |
| --- | --- |
| [Accelerator](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/accelerator/) { get; set; } | Gets and sets the accelerator key for the control. |
| [BackOleColor](../../aspose.diagram.activexcontrols/activexcontrolbase/backolecolor/) { get; set; } | Gets and sets the ole color of the background. |
| [Caption](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/caption/) { get; set; } | Gets and set the descriptive text that appears on a control. |
| override [Data](../../aspose.diagram.activexcontrols/activexcontrol/data/) { get; } | Gets and sets the binary data of the control. |
| virtual [ForeOleColor](../../aspose.diagram.activexcontrols/activexcontrolbase/foreolecolor/) { get; set; } | Gets and sets the ole color of the foreground. |
| virtual [Height](../../aspose.diagram.activexcontrols/activexcontrolbase/height/) { get; set; } | Gets and sets the height of the control in unit of points. |
| [IMEMode](../../aspose.diagram.activexcontrols/activexcontrol/imemode/) { get; set; } | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. |
| virtual [IsAutoSize](../../aspose.diagram.activexcontrols/activexcontrol/isautosize/) { get; set; } | Indicates whether the control will automatically resize to display its entire contents. |
| [IsEnabled](../../aspose.diagram.activexcontrols/activexcontrol/isenabled/) { get; set; } | Indicates whether the control can receive the focus and respond to user-generated events. |
| [IsLocked](../../aspose.diagram.activexcontrols/activexcontrol/islocked/) { get; set; } | Indicates whether data in the control is locked for editing. |
| [IsTransparent](../../aspose.diagram.activexcontrols/activexcontrol/istransparent/) { get; set; } | Indicates whether the control is transparent. |
| [IsTripleState](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/istriplestate/) { get; set; } | Indicates how the specified control will display Null values. |
| [MouseIcon](../../aspose.diagram.activexcontrols/activexcontrolbase/mouseicon/) { get; set; } | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [MousePointer](../../aspose.diagram.activexcontrols/activexcontrolbase/mousepointer/) { get; set; } | Gets and sets the type of icon displayed as the mouse pointer for the control. |
| [Picture](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/picture/) { get; set; } | Gets and sets the data of the picture. |
| [PicturePosition](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/pictureposition/) { get; set; } | Gets and set the location of the control's picture relative to its caption. |
| [SpecialEffect](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/specialeffect/) { get; set; } | Gets and sets the special effect of the control. |
| override [Type](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/type/) { get; } | Gets the type of the ActiveX control. |
| [Value](../../aspose.diagram.activexcontrols/togglebuttonactivexcontrol/value/) { get; set; } | Indicates if the control is checked or not. |
| virtual [Width](../../aspose.diagram.activexcontrols/activexcontrolbase/width/) { get; set; } | Gets and sets the width of the control in unit of point. |

### See Also

* class [ActiveXControl](../activexcontrol/)
* namespace [Aspose.Diagram.ActiveXControls](../../aspose.diagram.activexcontrols/)
* assembly [Aspose.Diagram](../../)


