RibbonGallery.IsSynchronizedWithCurrentItem 屬性

定義

取得或設定值,這個值表示圖庫是否應維持 SelectedItemItems 集合中的目前項目同步。

public:
 property Nullable<bool> IsSynchronizedWithCurrentItem { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsSynchronizedWithCurrentItem { get; set; }
member this.IsSynchronizedWithCurrentItem : Nullable<bool> with get, set
Public Property IsSynchronizedWithCurrentItem As Nullable(Of Boolean)

屬性值

如果 SelectedItem 一直與來源集合中的目前項目同步,則為 true。如果 SelectedItem 永遠不與目前項目同步,則為 false。如果 SelectedItem 僅在圖庫繫結至 CollectionViewSource 時與目前項目同步,則為 null。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

相依性屬性資訊

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

適用於