編輯

共用方式為


RibbonGallery.SelectedItem Property

Definition

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

public:
 property System::Object ^ SelectedItem { System::Object ^ get(); void set(System::Object ^ value); };
public object SelectedItem { get; set; }
member this.SelectedItem : obj with get, set
Public Property SelectedItem As Object

Property Value

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.

Remarks

Dependency Property Information

Item Value
Identifier field SelectedItemProperty
Metadata properties set to true BindsTwoWayByDefault

Applies to

See also