Share via


AutomationProperties.GetLabeledBy(BindableObject) 方法

定義

bindable 並未標記自身,且另外一個項目在 UI 中描述它,則傳回標記 bindable 的項目。

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ReferenceTypeConverter))]
public static Xamarin.Forms.VisualElement GetLabeledBy (Xamarin.Forms.BindableObject bindable);
static member GetLabeledBy : Xamarin.Forms.BindableObject -> Xamarin.Forms.VisualElement

參數

bindable
BindableObject

要尋找其標籤的物件。

傳回

標記 bindable 的項目 (若有)。

屬性

適用於