Share via


BindableObject.SetInheritedBindingContext(BindableObject, Object) 方法

定義

設定巢狀項目的繼承內容。

public:
 static void SetInheritedBindingContext(Microsoft::Maui::Controls::BindableObject ^ bindable, System::Object ^ value);
public static void SetInheritedBindingContext (Microsoft.Maui.Controls.BindableObject bindable, object value);
static member SetInheritedBindingContext : Microsoft.Maui.Controls.BindableObject * obj -> unit
Public Shared Sub SetInheritedBindingContext (bindable As BindableObject, value As Object)

參數

bindable
BindableObject

要在其上設定繼承繫結內容的物件。

value
Object

要設定的繼承內容。

備註

僅供內部使用。 您可以隨時變更或移除此 API,而不需通知。

適用於