MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / TextBox Class / ToggleImage Property
Example

ToggleImage Property
Gets or sets the initial state of a toggle image, if present in the textbox. The image displays a plus sign (+) for collapsed state and a minus sign (-) for expanded state.
Syntax
'Declaration
 
Public Property ToggleImage As ToggleImage
 

Property Value

A ToggleImage object indicating the initial state of the toggle image.
Remarks
The ToggleImage works with the Visibility class for toggling report items within the textbox.
Example
TextBox textBox = new TextBox();
textBox.ToggleImage = new ToggleImage { InitialState = ExpressionInfo.FromString("true") };
See Also