PickerFlyoutBase.SetTitle(DependencyObject, String) 方法

定义

设置选取器控件上显示的标题。

public:
 static void SetTitle(DependencyObject ^ element, Platform::String ^ value);
 static void SetTitle(DependencyObject const& element, winrt::hstring const& value);
public static void SetTitle(DependencyObject element, string value);
function setTitle(element, value)
Public Shared Sub SetTitle (element As DependencyObject, value As String)

参数

element
DependencyObject

要为其设置标题的依赖项对象。

value
String

Platform::String

winrt::hstring

要显示的标题。

适用于