共用方式為


ImageSourceExtensions.LoadImage Method

Definition

public static void LoadImage (this Microsoft.Maui.IImageSource? source, Microsoft.Maui.IMauiContext mauiContext, Action<Microsoft.Maui.IImageSourceServiceResult<object>?>? finished = default);
static member LoadImage : Microsoft.Maui.IImageSource * Microsoft.Maui.IMauiContext * Action<Microsoft.Maui.IImageSourceServiceResult<obj>> -> unit
<Extension()>
Public Sub LoadImage (source As IImageSource, mauiContext As IMauiContext, Optional finished As Action(Of IImageSourceServiceResult(Of Object)) = Nothing)

Parameters

source
IImageSource
mauiContext
IMauiContext

Applies to