Selection.SelectOnly(EditingContext, ModelItem) Method

Definition

A selection helper method that sets an item into the selection. Any existing items are deselected.

public static System.Activities.Presentation.View.Selection SelectOnly (System.Activities.Presentation.EditingContext context, System.Activities.Presentation.Model.ModelItem itemToSelect);

Parameters

context
EditingContext

The editing context to apply this selection change to.

itemToSelect
ModelItem

The item to select.

Returns

A Selection object that contains the new selection.

Applies to

Produkt Versioner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1