ListField.GetPaddingBelowItemText Method
Returns the spacing between the bottom of the text and the bottom of the item. The text height (Font.GetHeight()) contains some padding, so this is padding in addition to that.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Protected Overridable Function GetPaddingBelowItemText ( _
parentShape As ShapeElement _
) As Double
protected virtual double GetPaddingBelowItemText(
ShapeElement parentShape
)
protected:
virtual double GetPaddingBelowItemText(
ShapeElement^ parentShape
)
abstract GetPaddingBelowItemText :
parentShape:ShapeElement -> float
override GetPaddingBelowItemText :
parentShape:ShapeElement -> float
protected function GetPaddingBelowItemText(
parentShape : ShapeElement
) : double
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
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.