ShapeElement.FindPreviousChild Method
Searches for the previous child in the navigation sequence for the shape.
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 FindPreviousChild ( _
startFromChildItem As DiagramItem, _
focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindPreviousChild(
DiagramItem startFromChildItem,
bool focusableRequired
)
public:
DiagramItem^ FindPreviousChild(
DiagramItem^ startFromChildItem,
bool focusableRequired
)
member FindPreviousChild :
startFromChildItem:DiagramItem *
focusableRequired:bool -> DiagramItem
public function FindPreviousChild(
startFromChildItem : DiagramItem,
focusableRequired : boolean
) : DiagramItem
Parameters
startFromChildItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe child shape from which to start the search.
focusableRequired
Type: System.Booleantrue to consider the child shape only if it can have focus; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The previous child in the navigation sequence for the shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.