Table of Contents

Method SetDefaultStyle

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

SetDefaultStyle(ITextBoxTextAttr)

Sets the current default style, which can be used to change how subsequently inserted text is displayed.

bool SetDefaultStyle(ITextBoxTextAttr style)

Parameters

style ITextBoxTextAttr

The style for the new text.

Returns

bool

true on success, false if an error occurred (this may also mean that the styles are not supported under this platform).