[]
Gets or sets a Boolean expression that determines the initial state of the toggle image.
public ExpressionInfo InitialState { get; set; }
| Type | Description |
|---|---|
| ExpressionInfo | An ExpressionInfo object that evaluates to a bool value, determining the initial state of the toggle image. |
<p>
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).
ToggleImage toggleImage = new ToggleImage();
toggleImage.InitialState = ExpressionInfo.FromString("true");