Table of Contents

Method SetStyle

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

SetStyle(long, long, ITextBoxTextAttr)

Sets the attributes for the given range.

bool SetStyle(long start, long end, ITextBoxTextAttr style)

Parameters

start long
end long
style ITextBoxTextAttr

Returns

bool

Remarks

The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the style for a character at position 5, use the range (5,6).