BindableAttribute.Yes 欄位

定義

指定屬性通常用於繫結。 此欄位為唯讀。

public: static initonly System::ComponentModel::BindableAttribute ^ Yes;
public static readonly System.ComponentModel.BindableAttribute Yes;
 staticval mutable Yes : System.ComponentModel.BindableAttribute
Public Shared ReadOnly Yes As BindableAttribute 

欄位值

備註

當您使用 BindableAttribute 值的 true建構函式標記屬性時,的值 BindableAttribute 會設定為常數成員 Yes。 因此,若要檢查屬性是否在程式碼中設定為這個值,您必須將 屬性指定為 BindableAttribute.Yes

適用於

另請參閱