RibbonGallery.SelectedValue Property

Gets or sets the value of the property on the SelectedItem that is specified by the SelectedValuePath.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property SelectedValue As Object
public Object SelectedValue { get; set; }
public:
property Object^ SelectedValue {
    Object^ get ();
    void set (Object^ value);
}
member SelectedValue : Object with get, set
function get SelectedValue () : Object
function set SelectedValue (value : Object)

Property Value

Type: System.Object
The value of the property on the SelectedItem that is specified by the SelectedValuePath, or nulla null reference (Nothing in Visual Basic) if no item is selected. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

SelectedValueProperty

Metadata properties set to true

BindsTwoWayByDefault

.NET Framework Security

See Also

Reference

RibbonGallery Class

Microsoft.Windows.Controls.Ribbon Namespace

SelectedValuePath

SelectedItem