RibbonGallery.IsSynchronizedWithCurrentItem Property

.NET Framework (current version)

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

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public Nullable<bool> IsSynchronizedWithCurrentItem { get; set; }

Property Value

Type: System.Nullable<Boolean>

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.

Identifier field


Metadata properties set to true


.NET Framework
Available since 4.5
Return to top