Editar

Compartilhar via


RibbonGallery.IsSynchronizedWithCurrentItem Property

Definition

Gets or sets a value that indicates whether the gallery should keep the SelectedItem synchronized with the current item in the Items collection.

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)

Property Value

true if the SelectedItem is always synchronized with the current item in the source collection; false if the SelectedItem is never synchronized with the current item; null if the SelectedItem is synchronized with the current item only if the gallery is bound to a CollectionViewSource. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

Dependency Property Information

Identifier field IsSynchronizedWithCurrentItemProperty
Metadata properties set to true None

Applies to