Class
ToggleVisibilityAction

Represents an interactive action that toggles the visibility of one or more items / groups.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class ToggleVisibilityAction : IAction

Inheritance: objectToggleVisibilityAction

Implements: IAction

Constructors

ToggleVisibilityAction()

Creates a new instance of the ToggleVisibilityAction class.

Declaration

cs-api-definition
public ToggleVisibilityAction()

ToggleVisibilityAction(IActionTarget, bool)

Creates a new instance of the ToggleVisibilityAction class with the specified toggle visibility target and initial toggle mark state.

Declaration

cs-api-definition
public ToggleVisibilityAction(IActionTarget target, bool displayExpandedMark)

Parameters

target

IActionTarget

The Name of the toggle visibility target.

displayExpandedMark

bool

The initial toggle visibility mark of the item.

ToggleVisibilityAction(IActionTarget[], bool)

Creates a new instance of the ToggleVisibilityAction class with specified toggle visibility targets and initial toggle mark state.

Declaration

cs-api-definition
public ToggleVisibilityAction(IActionTarget[] targets, bool displayExpandedMark)

Parameters

targets

IActionTarget[]

An enumerable of Name of the toggle visibility targets.

displayExpandedMark

bool

The initial toggle visibility mark of the item.

Properties

DisplayExpandedMark

Determines if the item exposing the action will be rendered initially with expanded or with collapsed mark.

Declaration

cs-api-definition
public bool DisplayExpandedMark { get; set; }

Property Value

bool

Remarks

A true value will determine an expanded mark to be rendered (minus sign). A false value will determine an collapsed mark to be rendered (plus sign).

Targets

Gets the list of toggle targets which visibility will be toggled when the action is triggered.

Declaration

cs-api-definition
public ActionTargetCollection Targets { get; }

Property Value

ActionTargetCollection

Remarks

Use this property to add / remove toggle targets of the action. To add an item / report group / table group as toggle target you need to add / remove the value of the Name / of the target respectively. The used names must be unique in the report scope.

The items in this list do not accept expressions.

Methods

Equals(ToggleVisibilityAction)

TODO: Add documentation.

Declaration

cs-api-definition
public bool Equals(ToggleVisibilityAction other)

Parameters

other

ToggleVisibilityAction

Returns

bool

Equals(object)

TODO: Add documentation.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

TODO: Add documentation.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()