Share via


TextField.GetAccessibleState(ShapeElement, DiagramClientView) Method

Definition

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.

public:
 override System::Windows::Forms::AccessibleStates GetAccessibleState(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public override System.Windows.Forms.AccessibleStates GetAccessibleState (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
override this.GetAccessibleState : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> System.Windows.Forms.AccessibleStates
Public Overrides Function GetAccessibleState (parentShape As ShapeElement, diagramClientView As DiagramClientView) As AccessibleStates

Parameters

parentShape
ShapeElement

The ShapeElement that contains this ShapeField.

diagramClientView
DiagramClientView

The view the accessible object is for.

Returns

The AccessibleState of this ShapeField.

Applies to