Table of Contents

Method SetStyle

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

SetStyle(ControlStyles, bool)

Sets a specified ControlStyles flag to either true or false.

protected void SetStyle(ControlStyles flag, bool value)

Parameters

flag ControlStyles

The ControlStyles bit to set.

value bool

true to apply the specified style to the control; otherwise, false.