Udostępnij za pośrednictwem


ListField.GetPaddingAboveItemText(ShapeElement) Method

Definition

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.

protected:
 virtual double GetPaddingAboveItemText(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
protected virtual double GetPaddingAboveItemText (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetPaddingAboveItemText : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> double
override this.GetPaddingAboveItemText : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> double
Protected Overridable Function GetPaddingAboveItemText (parentShape As ShapeElement) As Double

Parameters

parentShape
ShapeElement

Returns

Applies to