RibbonGallery.SelectedValue 屬性

定義

取得或設定 SelectedItem 所指定之 SelectedValuePath 中的屬性值。

public:
 property System::Object ^ SelectedValue { System::Object ^ get(); void set(System::Object ^ value); };
public object SelectedValue { get; set; }
member this.SelectedValue : obj with get, set
Public Property SelectedValue As Object

屬性值

SelectedItem 所指定之 SelectedValuePath 中的屬性值,如果沒有選取的項目則設為 null。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

相依性屬性資訊

識別碼欄位 SelectedValueProperty
設定為 的中繼資料屬性 true BindsTwoWayByDefault

適用於

另請參閱