ShapeElement.FindPreviousInChildFields Method

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)

Syntax

'Declaration
Public Function FindPreviousInChildFields ( _
    startFromField As ShapeField, _
    focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindPreviousInChildFields(
    ShapeField startFromField,
    bool focusableRequired
)
public:
DiagramItem^ FindPreviousInChildFields(
    ShapeField^ startFromField, 
    bool focusableRequired
)
member FindPreviousInChildFields : 
        startFromField:ShapeField * 
        focusableRequired:bool -> DiagramItem
public function FindPreviousInChildFields(
    startFromField : ShapeField, 
    focusableRequired : boolean
) : DiagramItem

Parameters

  • 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.

Remarks

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

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace