ImageSourcePartLoader 构造函数

定义

重载

ImageSourcePartLoader(IImageSourcePartSetter)
ImageSourcePartLoader(IElementHandler, Func<IImageSourcePart>, Action<Object>)
已过时.

ImageSourcePartLoader(IImageSourcePartSetter)

Source:
ImageSourcePartLoader.cs
Source:
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>)

Source:
ImageSourcePartLoader.cs
Source:
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>
属性

适用于