Developer Docs - Mobile Docs - Execute Command

Allows a command to be executed upon initialization (and repeated).

v7.0

Inherits from Microsoft.Maui.Controls.ContentView

The ExecuteCommand control is a simple and flexible way to execute commands with customizable timing and repetition. It’s ideal for use cases like delayed actions or periodic updates.

Properties

Example

In this example we used in an app to welcome people with a periodic toast message like, "Welcome to Rock Solid Church!!".