ShapeElement::FindPreviousInChildFields Method (ShapeField^, Boolean)

 

Searches for the previous shape field in the navigation sequence.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
DiagramItem^ FindPreviousInChildFields(
	ShapeField^ startFromField,
	bool focusableRequired
)

Parameters

startFromField
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^

The shape field from which to start the search.

focusableRequired
Type: System::Boolean

true to consider the shape field only if it can have focus; otherwise, false.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The previous shape field in the navigation sequence.

This method may traverse descendents of the child fields looking for a viable previous item.

Return to top
Show: