共用方式為


ImageSourcePartLoader 建構函式

定義

多載

ImageSourcePartLoader(IImageSourcePartSetter)
ImageSourcePartLoader(IElementHandler, Func<IImageSourcePart>, Action<Object>)
已淘汰.

ImageSourcePartLoader(IImageSourcePartSetter)

來源:
ImageSourcePartLoader.cs
來源:
ImageSourcePartLoader.cs
public:
 ImageSourcePartLoader(Microsoft::Maui::Platform::IImageSourcePartSetter ^ setter);
public ImageSourcePartLoader (Microsoft.Maui.Platform.IImageSourcePartSetter setter);
new Microsoft.Maui.Platform.ImageSourcePartLoader : Microsoft.Maui.Platform.IImageSourcePartSetter -> Microsoft.Maui.Platform.ImageSourcePartLoader
Public Sub New (setter As IImageSourcePartSetter)

參數

適用於

ImageSourcePartLoader(IElementHandler, Func<IImageSourcePart>, Action<Object>)

來源:
ImageSourcePartLoader.cs
來源:
ImageSourcePartLoader.cs

警告

Use ImageSourcePartLoader(IImageSourcePartSetter setter) instead.

public:
 ImageSourcePartLoader(Microsoft::Maui::IElementHandler ^ handler, Func<Microsoft::Maui::IImageSourcePart ^> ^ imageSourcePart, Action<System::Object ^> ^ setImage);
[System.Obsolete("Use ImageSourcePartLoader(IImageSourcePartSetter setter) instead.", true)]
public ImageSourcePartLoader (Microsoft.Maui.IElementHandler handler, Func<Microsoft.Maui.IImageSourcePart?> imageSourcePart, Action<object?> setImage);
[<System.Obsolete("Use ImageSourcePartLoader(IImageSourcePartSetter setter) instead.", true)>]
new Microsoft.Maui.Platform.ImageSourcePartLoader : Microsoft.Maui.IElementHandler * Func<Microsoft.Maui.IImageSourcePart> * Action<obj> -> Microsoft.Maui.Platform.ImageSourcePartLoader
Public Sub New (handler As IElementHandler, imageSourcePart As Func(Of IImageSourcePart), setImage As Action(Of Object))

參數

handler
IElementHandler
imageSourcePart
Func<IImageSourcePart>
setImage
Action<Object>
屬性

適用於