LabelTextField Methods
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | AccessibleDoDefaultAction(ShapeElement^) | Performs the default action for the accessible object.(Inherited from ShapeField.) |
![]() | AllowInPlaceEditorAutoSize(ShapeElement^) | By default, allow in-place editor to size automatically if the field supports auto-size.(Inherited from TextField.) |
![]() | AssociateValueWith(Store^, AssociatedPropertyInfo^) | Associates the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.) |
![]() | AssociateValueWith(Store^, Guid) | Associates the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.) |
![]() | AssociateValueWith(Store^, Guid, AssociatedPropertyInfo^) | Associates the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.) |
![]() | AssociateVisibilityWith(Store^, AssociatedPropertyInfo^) | Associates the visibility of the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.) |
![]() | AssociateVisibilityWith(Store^, Guid) | Associates the visibility of the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.) |
![]() | AssociateVisibilityWith(Store^, Guid, AssociatedPropertyInfo^) | Associates the visibility of the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.) |
![]() | CanEditValue(ShapeElement^, DiagramClientView^) | Returns a value indicating whether the value of this field can be edited.(Inherited from TextField.) |
![]() | CommitPendingEdit(ShapeElement^, DiagramClientView^) | Commits the pending edit.(Inherited from TextField.) |
![]() | DoHitTest(PointD, ShapeElement^, DiagramHitTestInfo^) | Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.(Inherited from ShapeField.) |
![]() | DoKeyboardNavigation(Keys, DiagramClientView^, DiagramItem^) | Navigates in the shape field by using the keyboard.(Inherited from ShapeField.) |
![]() | DoPaint(DiagramPaintEventArgs^, ShapeElement^) | Draws the text field.(Inherited from TextField.) |
![]() | EditValue(ShapeElement^, DiagramClientView^) | Invokes the in-place editor.(Inherited from TextField.) |
![]() | EditValue(ShapeElement^, DiagramClientView^, PointD) | Invokes the in-place editor, setting the caret using the specified mouse position.(Inherited from TextField.) |
![]() | EditValue(ShapeElement^, DiagramClientView^, String^) | Invokes the in-place editor, replacing the text with the specified text.(Inherited from TextField.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindFirstChild(ShapeElement^, Boolean) | Locates the first child shape field in the parent shape field.(Inherited from ShapeField.) |
![]() | FindLastChild(ShapeElement^, Boolean) | Locates the last child shape field in the parent shape field.(Inherited from ShapeField.) |
![]() | FindNextChild(DiagramItem^, Boolean) | Locates the next child shape field in the parent shape field.(Inherited from ShapeField.) |
![]() | FindNextInChildSubFields(ShapeElement^, DiagramItem^, Boolean) | Locates the next child shape field in the navigation sequence.(Inherited from ShapeField.) |
![]() | FindPreviousChild(DiagramItem^, Boolean) | Locates the previous child shape field in the parent shape field.(Inherited from ShapeField.) |
![]() | FindPreviousInChildSubFields(ShapeElement^, DiagramItem^, Boolean) | Locates the previous child shape field in the navigation sequence.(Inherited from ShapeField.) |
![]() | Focused(ShapeElement^, DiagramClientView^) | Gets the shape field and verifies whether it has focus.(Inherited from ShapeField.) |
![]() | GetAccessibilityObject(ShapeElement^, DiagramClientView^) | Gets the accessibility object that is assigned to the shape field.(Inherited from ShapeField.) |
![]() | GetAccessibleChild(ShapeElement^, Int32) | Gets the Accessibility object for the child shape field.(Inherited from ShapeField.) |
![]() | GetAccessibleChildCount(ShapeElement^) | Gets the number of Accessibility objects that are assigned to the parent shape field and its child shape fields.(Inherited from ShapeField.) |
![]() | GetAccessibleDefaultActionDescription(ShapeElement^) | Gets the default purpose of the shape field for the accessible object.(Inherited from ShapeField.) |
![]() | GetAccessibleDescription(ShapeElement^) | Returns the default accessible description for a text field.(Inherited from TextField.) |
![]() | GetAccessibleHelp(ShapeElement^) | Gets the shape field Help for the accessible object.(Inherited from ShapeField.) |
![]() | GetAccessibleHelpTopicFileName(ShapeElement^) | Gets a topic in the Help for the accessible object.(Inherited from ShapeField.) |
![]() | GetAccessibleHelpTopicId(ShapeElement^) | Gets the ID that is assigned to the Help topic for the accessible object.(Inherited from ShapeField.) |
![]() | GetAccessibleName(ShapeElement^) | Returns the display text as the accessible name.(Inherited from TextField.) |
![]() | GetAccessibleRole(ShapeElement^) | Retrieves the accessible role of this ShapeField.(Inherited from TextField.) |
![]() | GetAccessibleState(ShapeElement^, DiagramClientView^) | 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.(Inherited from TextField.) |
![]() | GetAccessibleValue(ShapeElement^) | Returns the accessible value.(Inherited from TextField.) |
![]() | GetActiveInPlaceEditor(ShapeElement^, 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 field.(Inherited from TextField.) |
![]() | GetAutoSize(ShapeElement^) | If true, the text field's minimum required size will grow to accomodate the length of the diplay text. Autosizable text fields will still respect the minimum size specified in the AnchoringBehavior.(Inherited from TextField.) |
![]() | GetBackgroundBrush(DiagramClientView^, ShapeElement^, Color) | Gets the brush that draws the background for the shape element to which this shape field is assigned.(Inherited from ShapeField.) |
![]() | GetBackgroundBrushId(DiagramClientView^, ShapeElement^) | Gets the ID of the brush that draws the background for the shape element to which this shape field is assigned.(Inherited from ShapeField.) |
![]() | GetBounds(ShapeElement^) | Gets the bounds for the shape field.(Inherited from ShapeField.) |
![]() | GetCursor(Cursor^, DiagramClientView^, PointD) | Gets the pointer that appears when the mouse is pointing to the shape field.(Inherited from ShapeField.) |
![]() | GetDisplayText(ShapeElement^) | Gets the text to be displayed by this field.(Inherited from TextField.) |
![]() | GetFocusable(ShapeElement^) | Gets the shape field and verifies whether it can receive focus.(Inherited from ShapeField.) |
![]() | GetFont(ShapeElement^) | Gets the font to draw with for the specified ShapeElement instance.(Inherited from TextField.) |
![]() | GetFontHeight(ShapeElement^) | Gets the line spacing of this font (i.e., the height of a line of text) in world units. Line spacing is the ascent + the descent + some recommended extra. The ascent is the height of the character above the baseline, and the descent is the height of the character below the baseline. The extra is below the descent.(Inherited from TextField.) |
![]() | GetFontId(ShapeElement^) | Gets the id of the font to draw with for the specified ShapeElement instance.(Inherited from TextField.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetInPlaceEditorBounds(ShapeElement^) | Gets the bounds for the in-place editor.(Inherited from ShapeField.) |
![]() | GetMaximumInPlaceEditorSize(ShapeElement^) | By default, we allow the in-place edit control to resize up to 75 characters.(Inherited from TextField.) |
![]() | GetMinimumInPlaceEditorSize(ShapeElement^) | Minimum in-place editor size is based on minimum width in characters and height in lines.(Inherited from TextField.) |
![]() | GetMinimumSize(ShapeElement^) | Gets the minimum width and heightfor this ShapeField in world units(Inherited from TextField.) |
![]() | GetMultipleLine(ShapeElement^) | If true, the text can wrap onto more than one line to fit the width available.(Inherited from TextField.) |
![]() | GetPen(DiagramClientView^, ShapeElement^, Color) | Gets the pen that draws the shape element to which the shape field is assigned.(Inherited from ShapeField.) |
![]() | GetPenId(ShapeElement^) | Gets the ID of the pen that draws the shape element to which the shape field is assigned.(Inherited from ShapeField.) |
![]() | GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo^) | Gets the mouse action to activate when the user next clicks a specific point on the diagram.(Inherited from ShapeField.) |
![]() | GetSelectable(ShapeElement^) | Gets the shape field and verifies whether it can be selected.(Inherited from ShapeField.) |
![]() | GetStringFormat(ShapeElement^) | Gets the string format to draw the text with for the specified ShapeElement instance.(Inherited from TextField.) |
![]() | GetTextBrush(DiagramClientView^, ShapeElement^) | Gets the brush to draw the text with for the specified ShapeElement instance.(Inherited from TextField.) |
![]() | GetTextBrushId(DiagramClientView^, ShapeElement^) | Gets the id of the brush to draw the text with for the specified ShapeElement instance.(Inherited from TextField.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetValue(ShapeElement^) | Gets the value for this TextField.(Inherited from TextField.) |
![]() | GetValueDomainPropertyInfo(ShapeElement^) | Gets the domain property that is assigned to the value in the shape field.(Inherited from ShapeField.) |
![]() | GetVisible(ShapeElement^) | Gets the shape field and verifies whether it appears.(Inherited from ShapeField.) |
![]() | HasFocusedAppearance(ShapeElement^, DiagramClientView^) | Gets the shape field and verifies whether it should appear to have the focus.(Inherited from ShapeField.) |
![]() | HasPendingEdit(ShapeElement^, DiagramClientView^) | Returns a value indicating whether in-place editing is active, with a commit pending.(Inherited from TextField.) |
![]() | HasSelectedAppearance(ShapeElement^, DiagramClientView^) | Gets the shape field and verifies whether it appears to be selected.(Inherited from ShapeField.) |
![]() | IsNavigationKey(Char) | Gets the key that the user pressed and verifies whether it can be used to navigate between shape fields.(Inherited from ShapeField.) |
![]() | IsNavigationKey(Keys) | Gets the keys that the user pressed and verifies whether they can be used to navigate between shape fields.(Inherited from ShapeField.) |
![]() | MeasureDisplayText(String^, Font^, StringFormat^, SizeD) | Helper method to measure given text.(Inherited from TextField.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | NavigateAscend(ShapeElement^, SelectedShapesCollection^) | Moves the focus to the previous shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.) |
![]() | NavigateDescend(ShapeElement^, SelectedShapesCollection^) | Moves the focus to the next shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.) |
![]() | NavigateToFirst(ShapeElement^, SelectedShapesCollection^) | Moves the focus to the first shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.) |
![]() | NavigateToLast(ShapeElement^, SelectedShapesCollection^) | Moves the focus to the last shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.) |
![]() | NavigateToNext(ShapeElement^, SelectedShapesCollection^) | Moves the focus to the next shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.) |
![]() | NavigateToPrevious(ShapeElement^, SelectedShapesCollection^) | Moves the focus to the previous shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.) |
![]() | OnBeginEdit(DiagramItemEventArgs^) | Alerts listeners when in-place editing has begun.(Inherited from ShapeField.) |
![]() | OnClick(DiagramPointEventArgs^) | Alerts listeners when the user has clicked a shape field.(Inherited from ShapeField.) |
![]() | OnDoubleClick(DiagramPointEventArgs^) | Invokes in-place editing by default.(Inherited from TextField.) |
![]() | OnEndEdit(DiagramItemEventArgs^) | Alerts listeners when in-place editing has completed.(Inherited from ShapeField.) |
![]() | OnKeyDown(DiagramKeyEventArgs^) | keys directed to the text field so that we can nudge, resize, scroll, etc. when the text field has the focus.(Overrides ShapeField::OnKeyDown(DiagramKeyEventArgs^).) |
![]() | OnKeyPress(DiagramKeyPressEventArgs^) | Invokes the editor if the field is editable and any alpha-numeric character is typed.(Inherited from TextField.) |
![]() | OnKeyUp(DiagramKeyEventArgs^) | Alerts listeners when the user has released a key when pointing to a shape field.(Inherited from ShapeField.) |
![]() | OnMouseDown(DiagramMouseEventArgs^) | Alerts listeners when the user is holding down the mouse over a shape field.(Inherited from ShapeField.) |
![]() | OnMouseMove(DiagramMouseEventArgs^) | Alerts listeners when the mouse has been moved over a shape field.(Inherited from ShapeField.) |
![]() | OnMouseUp(DiagramMouseEventArgs^) | Alerts listeners when the user has released the mouse button over a shape field.(Inherited from ShapeField.) |
![]() | OnMouseWheel(DiagramMouseEventArgs^) | Alerts listeners when the mouse has been rotated over a shape field.(Inherited from ShapeField.) |
![]() | Selected(ShapeElement^, DiagramClientView^) | Gets the shape field and verifies whether it is selected.(Inherited from ShapeField.) |
![]() | SetSelectionRange(SelectedShapesCollection^, DiagramItem^, DiagramItem^) | Sets the selection to a range of child shape fields.(Inherited from ShapeField.) |
![]() | SetValue(ShapeElement^, Object^) | Assigns the specified value to a shape field.(Inherited from ShapeField.) |
![]() | SetVisible(ShapeElement^, Object^) | Sets the visibility of the shape field.(Inherited from ShapeField.) |
![]() | ToString() | (Inherited from Object.) |

