ListField::GetPaddingAboveItemText Method (ShapeElement^)

 

Returns the spacing between the top of the item and the top of the text. 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual double GetPaddingAboveItemText(
	ShapeElement^ parentShape
)

Return Value

Type: System::Double
Return to top
Show: