Share via


Selection.SelectedObjects Property

Gets an enumeration of the objects in the selection.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public ReadOnly Property SelectedObjects As IEnumerable(Of ModelItem)
'Usage
Dim instance As Selection 
Dim value As IEnumerable(Of ModelItem)

value = instance.SelectedObjects
public IEnumerable<ModelItem> SelectedObjects { get; }
public:
property IEnumerable<ModelItem^>^ SelectedObjects {
    IEnumerable<ModelItem^>^ get ();
}
public function get SelectedObjects () : IEnumerable<ModelItem>

Property Value

Type: System.Collections.Generic.IEnumerable<ModelItem>
An enumeration of the objects in the selection.

.NET Framework Security

See Also

Reference

Selection Class

Selection Members

Microsoft.Windows.Design.Interaction Namespace

SelectionCommands

SelectionOperations

SelectionTool

EditingContext

Other Resources

WPF Designer Extensibility Architecture