Device
Styles
Android
iOS
MacCatalyst
Tizen
tvOS
UWP
WinUI
DefaultRendererAssembly
FlowDirection
Idiom
IsInvokeRequired
RuntimePlatform
BeginInvokeOnMainThread(Action)
GetMainThreadSynchronizationContextAsync()
GetNamedSize(NamedSize, Element)
GetNamedSize(NamedSize, Type)
GetNamedSize(NamedSize, Type, Boolean)
InvokeOnMainThreadAsync(Action)
InvokeOnMainThreadAsync(Func<Task>)
InvokeOnMainThreadAsync<T>(Func<T>)
InvokeOnMainThreadAsync<T>(Func<Task<T>>)
StartTimer(TimeSpan, Func<Boolean>)
net7.0
namespace Microsoft.Maui.Controls
{
[Obsolete]
public static class Device
{
[Obsolete("Use BindableObject.Dispatcher.DispatchAsync() instead.")]
public static Task<T> InvokeOnMainThreadAsync<T>(Func<T> func);
}
}
.NET | 6.07.0 |
---|---|
Information specific to net7.0 | |
Assembly | Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken= |
Referencing | Requires all:
|
Obsolete | Use BindableObject.Dispatcher.DispatchAsync() instead. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API