Delen via


ListField.GetItemHeight Method

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.

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

Syntax

'Declaration
Public Overridable Function GetItemHeight ( _
    parentShape As ShapeElement _
) As Double
public virtual double GetItemHeight(
    ShapeElement parentShape
)
public:
virtual double GetItemHeight(
    ShapeElement^ parentShape
)
abstract GetItemHeight : 
        parentShape:ShapeElement -> float  
override GetItemHeight : 
        parentShape:ShapeElement -> float
public function GetItemHeight(
    parentShape : ShapeElement
) : double

Parameters

Return Value

Type: System.Double

.NET Framework Security

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace