DataTemplateExtension.ProvideValue(IServiceProvider) 方法

定义

public:
 virtual Microsoft::Maui::Controls::DataTemplate ^ ProvideValue(IServiceProvider ^ serviceProvider);
public Microsoft.Maui.Controls.DataTemplate ProvideValue (IServiceProvider serviceProvider);
abstract member ProvideValue : IServiceProvider -> Microsoft.Maui.Controls.DataTemplate
override this.ProvideValue : IServiceProvider -> Microsoft.Maui.Controls.DataTemplate
Public Function ProvideValue (serviceProvider As IServiceProvider) As DataTemplate

参数

serviceProvider
IServiceProvider

返回

实现

适用于