ListField.GetItemHeight(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.