Lire en anglais

Partager via


IListFieldContainer Interface

Defines methods for the parent shape of the ListField.

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

Syntax

public interface IListFieldContainer

The IListFieldContainer type exposes the following members.

Properties

  Name Description
Public property SnakingInfo

Top

Methods

  Name Description
Public method GetItemCount Gets the number of items in the specified list field.
Public method GetItemDrawInfo Gets drawing information for a single list item in the list field.

Top

Remarks

Implement this interface on any ShapeElement that will host a ListField. The ListField will call these methods to get list item information for hit-testing and drawing.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace