PickerFlyoutBase.GetTitle(DependencyObject) 方法

定义

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

public:
 static Platform::String ^ GetTitle(DependencyObject ^ element);
 static winrt::hstring GetTitle(DependencyObject const& element);
public static string GetTitle(DependencyObject element);
function getTitle(element)
Public Shared Function GetTitle (element As DependencyObject) As String

参数

element
DependencyObject

要获取其标题的依赖项对象。

返回

String

Platform::String

winrt::hstring

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

适用于