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
    Get
public int SelectionCount { get; }
public:
property int SelectionCount {
    int get ();
}
member SelectionCount : int
function get SelectionCount () : int

Property Value

Type: System.Int32
The number of objects in the selection.

.NET Framework Security

See Also

Reference

Selection Class

Microsoft.Windows.Design.Interaction Namespace

SelectionCommands

SelectionOperations

SelectionTool

EditingContext

Other Resources

WPF Designer Extensibility Architecture