ListItemSubField Class
The sub field which represents an item in a ListField.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField
Microsoft.VisualStudio.Modeling.Diagrams.ListItemSubField
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Class ListItemSubField _
Inherits ShapeSubField
public class ListItemSubField : ShapeSubField
public ref class ListItemSubField : public ShapeSubField
type ListItemSubField =
class
inherit ShapeSubField
end
public class ListItemSubField extends ShapeSubField
The ListItemSubField type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ListItemSubField(Int32) | Initializes a new instance of the ListItemSubField class. | |
ListItemSubField(Int32, Int32, Int32) | Initializes a new instance of the ListItemSubField class. |
Top
Properties
Name | Description | |
---|---|---|
Column | Gets or sets the zero-based column number of this list item. | |
Row | Gets or sets the zero-based row number of this list item. | |
RowsPerColumn | Gets/sets the number of rows per column of the list in which this item resides. | |
SubFieldHashCode | Serves as the hash function for the ListItemSubField. (Overrides ShapeSubField.SubFieldHashCode.) |
Top
Methods
Name | Description | |
---|---|---|
AccessibleDoDefaultAction | Performs the default action associated with this accessible object. (Inherited from ShapeSubField.) | |
CanEditValue | Returns a value indicating whether the value of this subfield can be edited. (Overrides ShapeSubField.CanEditValue(ShapeElement, ShapeField, DiagramClientView).) | |
CommitPendingEdit | Commits the pending edit. (Overrides ShapeSubField.CommitPendingEdit(ShapeElement, ShapeField, DiagramClientView).) | |
DoKeyboardNavigation | Calls the appropriate navigation method on the shape sub-field. (Inherited from ShapeSubField.) | |
EditValue(ShapeElement, ShapeField, DiagramClientView) | Invokes the in-place editor. (Overrides ShapeSubField.EditValue(ShapeElement, ShapeField, DiagramClientView).) | |
EditValue(ShapeElement, ShapeField, DiagramClientView, PointD) | Invokes the in-place editor, setting the caret using the specified mouse position. (Overrides ShapeSubField.EditValue(ShapeElement, ShapeField, DiagramClientView, PointD).) | |
EditValue(ShapeElement, ShapeField, DiagramClientView, String) | Invokes the in-place editor, replacing the text with the specified text. | |
Equals | (Inherited from ShapeSubField.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAccessibilityObject | Gets the AccessibleObject assigned to the subfield. (Inherited from ShapeSubField.) | |
GetAccessibleDefaultActionDescription | Gets a string that describes the default action of the object. Not all objects have a default action. (Inherited from ShapeSubField.) | |
GetAccessibleDescription | Returns the accessible description. (Inherited from ShapeSubField.) | |
GetAccessibleHelp | Gets a description of what the object does or how the object is used. (Inherited from ShapeSubField.) | |
GetAccessibleHelpTopicFileName | Gets the path to the Help file associated with this accessible object. (Inherited from ShapeSubField.) | |
GetAccessibleHelpTopicId | Gets an identifier for a Help topic identifier associated with this accessible object. (Inherited from ShapeSubField.) | |
GetAccessibleName | Returns the accessible name. (Inherited from ShapeSubField.) | |
GetAccessibleRole | Returns the accessible role. (Overrides ShapeSubField.GetAccessibleRole(ShapeElement, ShapeField).) | |
GetAccessibleValue | (Inherited from ShapeSubField.) | |
GetActiveInPlaceEditor | 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. (Overrides ShapeSubField.GetActiveInPlaceEditor(ShapeElement, ShapeField, DiagramClientView).) | |
GetBounds | Returns the bounds in world coordinates relative to the top-left of the parent shape. (Overrides ShapeSubField.GetBounds(ShapeElement, ShapeField).) | |
GetCursor | Gets the cursor that is displayed when the mouse pointer is over the ShapeSubField. (Inherited from ShapeSubField.) | |
GetFocusable | Gets a value indicating whether this shape field can receive focus. (Overrides ShapeSubField.GetFocusable(ShapeElement, ShapeField).) | |
GetHashCode | (Inherited from ShapeSubField.) | |
GetInPlaceEditorBounds | Returns the bounds of the in-place editor relative to its parent shape in world units. (Overrides ShapeSubField.GetInPlaceEditorBounds(ShapeElement, ShapeField).) | |
GetPotentialMouseAction | Retrieves a mouse action that should be made active on the next MouseDown event if the mouse is over the specified point. (Inherited from ShapeSubField.) | |
GetSelectable | Gets a value indicating whether this shape field can be selected. (Overrides ShapeSubField.GetSelectable(ShapeElement, ShapeField).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasPendingEdit | Returns a value indicating whether in-place editing is active, with a commit pending. (Overrides ShapeSubField.HasPendingEdit(ShapeElement, ShapeField, DiagramClientView).) | |
IsNavigationKey(Char) | Returns a value indicating whether the specified character corresponds to a navigational command. (Inherited from ShapeSubField.) | |
IsNavigationKey(Keys) | Returns a value indicating whether the specified key data corresponds to a navigational command. (Inherited from ShapeSubField.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NavigateAscend | Called by this ShapeSubField to set focus to its first ancestor in the navigation sequence. (Inherited from ShapeSubField.) | |
NavigateTo | Sets the focus to the specified DiagramItem. (Inherited from ShapeSubField.) | |
NavigateToFirst | Called by this ShapeSubField to set focus to this subfield's first sibling (i.e., the parent's first child) in the navigation sequence. (Inherited from ShapeSubField.) | |
NavigateToLast | Called by this ShapeSubField to set focus to this subfield's last sibling (i.e., the parent's last child) in the navigation sequence. (Inherited from ShapeSubField.) | |
NavigateToNext | Called by this ShapeSubField to set focus to the next object in the navigation sequence. (Inherited from ShapeSubField.) | |
NavigateToPrevious | Called by this ShapeSubField to set focus to the previous object in the navigation sequence. (Inherited from ShapeSubField.) | |
OnBeginEdit | Called when in-place editing has begun. (Inherited from ShapeSubField.) | |
OnClick | Called by the control's OnClick(). (Inherited from ShapeSubField.) | |
OnDoubleClick | Called by the control's OnDoubleClick(). (Inherited from ShapeSubField.) | |
OnEndEdit | Called when in-place editing has ended. (Overrides ShapeSubField.OnEndEdit(DiagramItemEventArgs).) | |
OnKeyDown | Called when a key is pressed. (Overrides ShapeSubField.OnKeyDown(DiagramKeyEventArgs).) | |
OnKeyPress | Invokes the editor if the field is editable and any alpha-numeric character is typed. (Overrides ShapeSubField.OnKeyPress(DiagramKeyPressEventArgs).) | |
OnKeyUp | Called when a key is released. To be called, this ShapeSubField must be the focused ShapeSubField in the selection. (Inherited from ShapeSubField.) | |
OnMouseDown | Called by the control's OnMouseDown(). (Inherited from ShapeSubField.) | |
OnMouseMove | Called by the control's OnMouseMove(). (Inherited from ShapeSubField.) | |
OnMouseUp | Called by the control's OnMouseUp(). (Inherited from ShapeSubField.) | |
OnMouseWheel | Called by the control's OnMouseWheel(). (Inherited from ShapeSubField.) | |
SubFieldEquals | Determines whether two subfield instances are equal. (Overrides ShapeSubField.SubFieldEquals(Object).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.