ShapeSubField Class

 

A sub component of a ShapeField that is optionally selectable, focusable, hit-testable, in-place-editable, and IAccessible. Examples of a ShapeSubField are list items in a list field, grid cells and grid lines in a grid field, and radio buttons in a radio button group. ShapeSubFields are only created as needed. For example, a grid containing 10,000 cells only needs to create a subfield for a cell when the subfield is selected, focused, hit-tested, edited, or accessed via IAccessible.

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

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::ShapeSubField
    Microsoft.VisualStudio.Modeling.Diagrams::ListItemSubField

public ref class ShapeSubField abstract 

NameDescription
System_CAPS_protmethodShapeSubField()

Initializes a new instance of the ShapeSubField class.

NameDescription
System_CAPS_pubpropertySubFieldHashCode

Gets a hash code for this ShapeSubField.

NameDescription
System_CAPS_pubmethodAccessibleDoDefaultAction(ShapeElement^, ShapeField^)

Performs the default action associated with this accessible object.

System_CAPS_pubmethodCanEditValue(ShapeElement^, ShapeField^, DiagramClientView^)

Returns a value indicating whether the value of this subfield can be edited.

System_CAPS_pubmethodCommitPendingEdit(ShapeElement^, ShapeField^, DiagramClientView^)

Commits the pending edit.

System_CAPS_pubmethodDoKeyboardNavigation(Keys, DiagramClientView^, DiagramItem^)

Calls the appropriate navigation method on the shape sub-field.

System_CAPS_pubmethodEditValue(ShapeElement^, ShapeField^, DiagramClientView^)

Invokes the in-place editor.

System_CAPS_pubmethodEditValue(ShapeElement^, ShapeField^, DiagramClientView^, PointD)

Invokes the in-place editor, setting the caret using the specified mouse position.

System_CAPS_pubmethodEquals(Object^)
System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAccessibilityObject(ShapeElement^, ShapeField^, DiagramClientView^)

Gets the AccessibleObject assigned to the subfield.

System_CAPS_pubmethodGetAccessibleDefaultActionDescription(ShapeElement^, ShapeField^)

Gets a string that describes the default action of the object. Not all objects have a default action.

System_CAPS_pubmethodGetAccessibleDescription(ShapeElement^, ShapeField^)

Returns the accessible description.

System_CAPS_pubmethodGetAccessibleHelp(ShapeElement^, ShapeField^)

Gets a description of what the object does or how the object is used.

System_CAPS_pubmethodGetAccessibleHelpTopicFileName(ShapeElement^, ShapeField^)

Gets the path to the Help file associated with this accessible object.

System_CAPS_pubmethodGetAccessibleHelpTopicId(ShapeElement^, ShapeField^)

Gets an identifier for a Help topic identifier associated with this accessible object.

System_CAPS_pubmethodGetAccessibleName(ShapeElement^, ShapeField^)

Returns the accessible name.

System_CAPS_pubmethodGetAccessibleRole(ShapeElement^, ShapeField^)

Returns the accessible role.

System_CAPS_pubmethodGetAccessibleValue(ShapeElement^, ShapeField^)

System_CAPS_pubmethodGetActiveInPlaceEditor(ShapeElement^, ShapeField^, DiagramClientView^)

Returns the control for the active in-place editor. This method may return null, in which case no in-place editor is active for this subfield.

System_CAPS_pubmethodGetBounds(ShapeElement^, ShapeField^)

Returns the bounds in world coordinates relative to the top-left of the parent shape.

System_CAPS_pubmethodGetCursor(Cursor^, DiagramClientView^, PointD)

Gets the cursor that is displayed when the mouse pointer is over the ShapeSubField.

System_CAPS_pubmethodGetFocusable(ShapeElement^, ShapeField^)

Gets a value indicating whether this ShapeSubField is focusable.

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetInPlaceEditorBounds(ShapeElement^, ShapeField^)

Returns the bounds of the in-place editor relative to its parent shape in world units.

System_CAPS_pubmethodGetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo^)

Retrieves a mouse action that should be made active on the next MouseDown event if the mouse is over the specified point.

System_CAPS_pubmethodGetSelectable(ShapeElement^, ShapeField^)

Gets a value indicating whether this ShapeSubField is selectable.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasPendingEdit(ShapeElement^, ShapeField^, DiagramClientView^)

Returns a value indicating whether in-place editing is active, with a commit pending.

System_CAPS_pubmethodIsNavigationKey(Char)

Returns a value indicating whether the specified character corresponds to a navigational command.

System_CAPS_pubmethodIsNavigationKey(Keys)

Returns a value indicating whether the specified key data corresponds to a navigational command.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNavigateAscend(ShapeElement^, ShapeField^, SelectedShapesCollection^)

Called by this ShapeSubField to set focus to its first ancestor in the navigation sequence.

System_CAPS_pubmethodNavigateTo(DiagramItem^, SelectedShapesCollection^)

Sets the focus to the specified DiagramItem.

System_CAPS_pubmethodNavigateToFirst(ShapeElement^, ShapeField^, SelectedShapesCollection^)

Called by this ShapeSubField to set focus to this subfield's first sibling (i.e., the parent's first child) in the navigation sequence.

System_CAPS_pubmethodNavigateToLast(ShapeElement^, ShapeField^, SelectedShapesCollection^)

Called by this ShapeSubField to set focus to this subfield's last sibling (i.e., the parent's last child) in the navigation sequence.

System_CAPS_pubmethodNavigateToNext(ShapeElement^, ShapeField^, SelectedShapesCollection^)

Called by this ShapeSubField to set focus to the next object in the navigation sequence.

System_CAPS_pubmethodNavigateToPrevious(ShapeElement^, ShapeField^, SelectedShapesCollection^)

Called by this ShapeSubField to set focus to the previous object in the navigation sequence.

System_CAPS_protmethodOnBeginEdit(DiagramItemEventArgs^)

Called when in-place editing has begun.

System_CAPS_pubmethodOnClick(DiagramPointEventArgs^)

Called by the control's OnClick().

System_CAPS_pubmethodOnDoubleClick(DiagramPointEventArgs^)

Called by the control's OnDoubleClick().

System_CAPS_protmethodOnEndEdit(DiagramItemEventArgs^)

Called when in-place editing has ended.

System_CAPS_pubmethodOnKeyDown(DiagramKeyEventArgs^)

Called when a key is pressed. To be called, this ShapeSubField must be the focused ShapeSubField in the selection.

System_CAPS_pubmethodOnKeyPress(DiagramKeyPressEventArgs^)

Called between a key down and key up. To be called, this ShapeSubField must be the focused ShapeSubField in the selection.

System_CAPS_pubmethodOnKeyUp(DiagramKeyEventArgs^)

Called when a key is released. To be called, this ShapeSubField must be the focused ShapeSubField in the selection.

System_CAPS_pubmethodOnMouseDown(DiagramMouseEventArgs^)

Called by the control's OnMouseDown().

System_CAPS_pubmethodOnMouseMove(DiagramMouseEventArgs^)

Called by the control's OnMouseMove().

System_CAPS_pubmethodOnMouseUp(DiagramMouseEventArgs^)

Called by the control's OnMouseUp().

System_CAPS_pubmethodOnMouseWheel(DiagramMouseEventArgs^)

Called by the control's OnMouseWheel().

System_CAPS_pubmethodSubFieldEquals(Object^)

Gets a value indicating whether this ShapeSubField and the specified ShapeSubField are equal.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: