Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TaskbarAssistant.FlashWindow(FlashFlags, Int32, Int32) Method

Flashes the parent window. It does not change the window’s active state.

Namespace: DevExpress.Utils.Taskbar

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public bool FlashWindow(
    FlashFlags opt,
    int count,
    int timeout
)

#Parameters

Name Type Description
opt DevExpress.Utils.Taskbar.FlashFlags

A FlashFlags enumeration value that specifies the flash status (flash the window caption, flash the taskbar button, flash continuously until the window comes to the foreground, etc.). The enumeration supports bitwise operations, you can enable multiple flags.

count Int32

An integer value that specifies the number of flashes.

timeout Int32

An integer value that specifies the flash rate, in milliseconds. 0 to use the default cursor blink rate.

#Returns

Type Description
Boolean

true if the window caption was drawn as active before the call; otherwise, false

#Remarks

This method supports the Windows API’s FlashWindowEx function.

See Also