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

In This Topic
    ToggleImage Property
    In This Topic
    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
    public ToggleImage ToggleImage {get; set;}

    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