Table of Contents

Method HasParagraphAttributes

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

HasParagraphAttributes(long, long, ITextBoxRichAttr)

Test if this whole range has paragraph attributes of the specified kind.

bool HasParagraphAttributes(long startRange, long endRange, ITextBoxRichAttr style)

Parameters

startRange long
endRange long
style ITextBoxRichAttr

Returns

bool

Remarks

If any of the attributes are different within the range, the test fails. You can use this to implement, for example, centering button updating. style must have flags indicating which attributes are of interest.