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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
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
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement to which this ShapeField belongs
Return Value
Type: System.Double
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.