共用方式為


DataTemplateExtension.ProvideValue(IServiceProvider) Method

Definition

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

Parameters

serviceProvider
IServiceProvider

Returns

Implements

Applies to