RibbonGallery.SelectedItem Property

.NET Framework (current version)

Gets or sets the currently selected item in the ribbon gallery.

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

public object SelectedItem { get; set; }

Property Value

Type: System.Object

The currently selected item, or null if no item is selected. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

.NET Framework
Available since 4.5
Return to top