Selection.SelectOnly(EditingContext, ModelItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public static System.Activities.Presentation.View.Selection SelectOnly (System.Activities.Presentation.EditingContext context, System.Activities.Presentation.Model.ModelItem itemToSelect);
static member SelectOnly : System.Activities.Presentation.EditingContext * System.Activities.Presentation.Model.ModelItem -> System.Activities.Presentation.View.Selection
Public Shared Function SelectOnly (context As EditingContext, itemToSelect As ModelItem) As Selection
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.