Table of Contents

Method Toggle

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

Toggle(IReadOnlyList<RdlElement>, string)

Flips bold, italic or underline: on when the first textbox is off, off otherwise, as one undo entry.

public bool Toggle(IReadOnlyList<RdlElement> textboxes, string property)

Parameters

textboxes IReadOnlyList<RdlElement>

The textboxes.

property string

FontWeight, FontStyle or TextDecoration.

Returns

bool

True when the result is on.