ShapeField Members

Include Protected Members
Include Inherited Members

Represents a shape field in a diagram.

The ShapeField type exposes the following members.

Constructors

  Name Description
Protected method ShapeField Initializes a new instance of the ShapeField class.

Top

Methods

  Name Description
Public method AccessibleDoDefaultAction Performs the default action for the accessible object.
Public method AllowInPlaceEditorAutoSize Enables the in-place editor to be automatically sized in the shape field.
Public method AssociateValueWith Overloaded. Associates the shape field with a domain property that is assigned to a shape element.
Public method AssociateVisibilityWith Overloaded. Associates the visibility of the shape field with a domain property that is assigned to a shape element.
Public method CanEditValue Gets the shape field and verifies whether it can be edited.
Public method CommitPendingEdit Commits the pending edit.
Public method DoHitTest Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.
Public method DoKeyboardNavigation Navigates in the shape field by using the keyboard.
Public method DoPaint Draws the shape field.
Public method EditValue Overloaded. Opens the in-place editor for the shape field.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindFirstChild Locates the first child shape field in the parent shape field.
Public method FindLastChild Locates the last child shape field in the parent shape field.
Public method FindNextChild Locates the next child shape field in the parent shape field.
Public method FindNextInChildSubFields Locates the next child shape field in the navigation sequence.
Public method FindPreviousChild Locates the previous child shape field in the parent shape field.
Public method FindPreviousInChildSubFields Locates the previous child shape field in the navigation sequence.
Public method Focused Gets the shape field and verifies whether it has focus.
Public method GetAccessibilityObject Gets the accessibility object that is assigned to the shape field.
Public method GetAccessibleChild Gets the Accessibility object for the child shape field.
Public method GetAccessibleChildCount Gets the number of Accessibility objects that are assigned to the parent shape field and its child shape fields.
Public method GetAccessibleDefaultActionDescription Gets the default purpose of the shape field for the accessible object.
Public method GetAccessibleDescription Gets the description of the shape field for the accessible object.
Public method GetAccessibleHelp Gets the shape field Help for the accessible object.
Public method GetAccessibleHelpTopicFileName Gets a topic in the Help for the accessible object.
Public method GetAccessibleHelpTopicId Gets the ID that is assigned to the Help topic for the accessible object.
Public method GetAccessibleName Gets the name of the shape field for the accessible object.
Public method GetAccessibleRole Gets the role of the shape field for the accessible object.
Public method GetAccessibleState Gets the state of the shape field for the accessible object.
Public method GetAccessibleValue Gets the value in the shape field for the accessible object.
Public method GetActiveInPlaceEditor Gets the in-place editor that is active.
Public method GetBackgroundBrush Gets the brush that draws the background for the shape element to which this shape field is assigned.
Public method GetBackgroundBrushId Gets the ID of the brush that draws the background for the shape element to which this shape field is assigned.
Public method GetBounds Gets the bounds for the shape field.
Public method GetCursor Gets the pointer that appears when the mouse is pointing to the shape field.
Public method GetFocusable Gets the shape field and verifies whether it can receive focus.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInPlaceEditorBounds Gets the bounds for the in-place editor.
Public method GetMaximumInPlaceEditorSize Gets the maximum bounds for the in-place editor.
Public method GetMinimumInPlaceEditorSize Gets the minimum bounds for the in-place editor.
Public method GetMinimumSize Gets the minimum width and height for the shape field.
Public method GetPen Gets the pen that draws the shape element to which the shape field is assigned.
Public method GetPenId Gets the ID of the pen that draws the shape element to which the shape field is assigned.
Public method GetPotentialMouseAction Gets the mouse action to activate when the user next clicks a specific point on the diagram.
Public method GetSelectable Gets the shape field and verifies whether it can be selected.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Gets the value in the shape field.
Public method GetValueDomainPropertyInfo Gets the domain property that is assigned to the value in the shape field.
Public method GetVisible Gets the shape field and verifies whether it appears.
Public method HasFocusedAppearance Gets the shape field and verifies whether it should appear to have the focus.
Public method HasPendingEdit Gets the shape field and verifies whether its in-place editor is active and a change is pending.
Public method HasSelectedAppearance Gets the shape field and verifies whether it appears to be selected.
Public method IsNavigationKey Overloaded. Gets the keys that the user pressed and verifies whether they can be used to navigate between shape fields.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NavigateAscend Moves the focus to the previous shape field in the navigation sequence for the selected shapes.
Public method NavigateDescend Moves the focus to the next shape field in the navigation sequence for the selected shapes.
Public method NavigateToFirst Moves the focus to the first shape field in the navigation sequence for the selected shapes.
Public method NavigateToLast Moves the focus to the last shape field in the navigation sequence for the selected shapes.
Public method NavigateToNext Moves the focus to the next shape field in the navigation sequence for the selected shapes.
Public method NavigateToPrevious Moves the focus to the previous shape field in the navigation sequence for the selected shapes.
Protected method OnBeginEdit Alerts listeners when in-place editing has begun.
Public method OnClick Alerts listeners when the user has clicked a shape field.
Public method OnDoubleClick Alerts listeners when the user has double-clicked a shape field.
Protected method OnEndEdit Alerts listeners when in-place editing has completed.
Public method OnKeyDown Alerts listeners when the user has held down a key when pointing to a shape field.
Public method OnKeyPress Alerts listeners when the user has pressed a key when pointing to a shape field.
Public method OnKeyUp Alerts listeners when the user has released a key when pointing to a shape field.
Public method OnMouseDown Alerts listeners when the user is holding down the mouse over a shape field.
Public method OnMouseMove Alerts listeners when the mouse has been moved over a shape field.
Public method OnMouseUp Alerts listeners when the user has released the mouse button over a shape field.
Public method OnMouseWheel Alerts listeners when the mouse has been rotated over a shape field.
Public method Selected Gets the shape field and verifies whether it is selected.
Public method SetSelectionRange Sets the selection to a range of child shape fields.
Public method SetValue Assigns the specified value to a shape field.
Public method SetVisible Sets the visibility of the shape field.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property AnchoringBehavior Gets the anchoring behavior for the shape field.
Public property DefaultAccessibleDescription
Public property DefaultAccessibleName Gets or sets the default name of the shape field for the accessible object.
Public property DefaultAccessibleState Gets the default state of the shape field for the accessible object.
Public property DefaultBackgroundBrushId Gets or sets the ID of the default brush to paint the background of the shape field.
Public property DefaultFocusable Gets the shape field and verifies whether it can receive focus, or gives the shape field the ability to receive focus.
Public property DefaultInactiveSelectedBackgroundBrushId Gets or sets the ID of the default background brush for the shape field.
Public property DefaultPenId Gets or sets the ID of the default pen to use for the shape field.
Public property DefaultReflectParentFocusedState Gets the child shape field and verifies whether it should receive focus when its parent shape receives focus or sets the ability to reflect the focus state of its parent shape.
Public property DefaultReflectParentSelectedState Gets the child shape field and verifies whether it should be selected when its parent shape is selected or sets the ability to reflect the selection state of its parent shape.
Public property DefaultSelectable Gets the shape field and verifies whether it can be selected by default or sets the default selection state of the shape field.
Public property DefaultSelectedBackgroundBrushId Gets or sets the ID of the default background brush for the shape field.
Public property DefaultVisibility Gets the shape field and verifies whether it appears by default or sets the default visibility of the shape field.
Public property Name Gets the name of the shape field.

Top

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace