Show / Hide Table of Contents

Enum TWFlags

Flags of window triggers.

[Flags]
public enum TWFlags : byte

Namespace: Au.Triggers
Assembly: Au.dll

Fields

Name Description
LaterCallFunc

When using the later parameter, call the currently active Triggers.FuncOf functions on "later" events too. If the function returns false, the action will not run. The function runs synchronously in the same thread that called ActionTriggers.Run. The action runs asynchronously in another thread, which is slower to start. As always, Triggers.FuncOf functions must not contain slow code; should take less than 10 ms.

RunAtStartup

Run the action when ActionTriggers.Run called, if the window then is active (for ActiveOnce etc triggers) or visible (for VisibleOnce etc triggers).

Extension Methods

ExtMisc.HasAny<TWFlags>(TWFlags, TWFlags)
ExtMisc.Has<TWFlags>(TWFlags, TWFlags)
ExtMisc.SetFlag<TWFlags>(ref TWFlags, TWFlags, bool)