Condividi tramite


ListField.GetItemHeight(ShapeElement) Method

Definition

Gets the standard height of a list item in world units. The default behavior of this method returns the sum of GetItemTextHeight, GetPaddingAboveItemText, and GetPaddingBelowItemText.

public:
 virtual double GetItemHeight(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual double GetItemHeight (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetItemHeight : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> double
override this.GetItemHeight : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> double
Public Overridable Function GetItemHeight (parentShape As ShapeElement) As Double

Parameters

parentShape
ShapeElement

The ShapeElement to which this ShapeField belongs

Returns

The standard height of a list item in world units.

Applies to