TextField.GetAccessibleState Method
Retrieves the accessible state of this TextField. By default, the TextField is invisible to accessibility clients if the field is not focusable and there is no text to display.
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 Overrides Function GetAccessibleState ( _
parentShape As ShapeElement, _
diagramClientView As DiagramClientView _
) As AccessibleStates
public override AccessibleStates GetAccessibleState(
ShapeElement parentShape,
DiagramClientView diagramClientView
)
public:
virtual AccessibleStates GetAccessibleState(
ShapeElement^ parentShape,
DiagramClientView^ diagramClientView
) override
abstract GetAccessibleState :
parentShape:ShapeElement *
diagramClientView:DiagramClientView -> AccessibleStates
override GetAccessibleState :
parentShape:ShapeElement *
diagramClientView:DiagramClientView -> AccessibleStates
public override function GetAccessibleState(
parentShape : ShapeElement,
diagramClientView : DiagramClientView
) : AccessibleStates
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement that contains this ShapeField.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view the accessible object is for.
Return Value
Type: System.Windows.Forms.AccessibleStates
.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.