共用方式為


ShapeField.HasFocusedAppearance Method

Gets the shape field and verifies whether it should appear to have the focus.

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

Syntax

'宣告
Public Function HasFocusedAppearance ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
public bool HasFocusedAppearance(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
bool HasFocusedAppearance(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
member HasFocusedAppearance : 
        parentShape:ShapeElement * 
        view:DiagramClientView -> bool 
public function HasFocusedAppearance(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape field should appear to have the focus; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace