SearchBarHandler.MapIsTextPredictionEnabled(IViewHandler, ISearchBar) 方法

定义

将抽象 IsTextPredictionEnabled 属性映射到特定于平台的实现。

public:
 static void MapIsTextPredictionEnabled(Microsoft::Maui::IViewHandler ^ handler, Microsoft::Maui::ISearchBar ^ searchBar);
public static void MapIsTextPredictionEnabled (Microsoft.Maui.IViewHandler handler, Microsoft.Maui.ISearchBar searchBar);
static member MapIsTextPredictionEnabled : Microsoft.Maui.IViewHandler * Microsoft.Maui.ISearchBar -> unit
Public Shared Sub MapIsTextPredictionEnabled (handler As IViewHandler, searchBar As ISearchBar)

参数

handler
IViewHandler

关联的处理程序。

searchBar
ISearchBar

关联的 ISearchBar 实例。

适用于