ModelItemExtensions.Focus Method (ModelItem)

.NET Framework (current version)

Sets the keyboard focus on the specified designer item.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public static void Focus(
	this ModelItem item


Type: System.Activities.Presentation.Model.ModelItem

The designer item to set focus on.

If the specified designer item is not visible in the model tree view, this method expands the model tree up to a parent that is no more than five levels up.

.NET Framework
Available since 4.0
Return to top