ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ToggleImage Class / InitialState Property
Example

InitialState Property (ToggleImage)
Gets or sets a Boolean expression that determines the initial state of the toggle image.
Syntax
'Declaration
 
Public Property InitialState As ExpressionInfo
 

Property Value

An GrapeCity.Enterprise.Data.Expressions.ExpressionInfo object that evaluates to a System.Boolean value, determining the initial state of the toggle image.
Remarks

The default value is false, which displays a collapsed toggle image (plus sign).

Setting this property to true displays an expanded toggle image (minus sign).

Example
ToggleImage toggleImage = new ToggleImage();
toggleImage.InitialState = ExpressionInfo.FromString("true");
See Also