Share via


Selection.SelectionCount Property

Gets the number of 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 SelectionCount As Integer
'Usage
Dim instance As Selection 
Dim value As Integer 

value = instance.SelectionCount
public int SelectionCount { get; }
public:
property int SelectionCount {
    int get ();
}
public function get SelectionCount () : int

Property Value

Type: System.Int32
The number of 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