ListField.GetPaddingAboveItemText(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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