This topic has not yet been rated - Rate this topic

ListField.GetPaddingAboveItemText Method

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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
protected virtual double GetPaddingAboveItemText(
	ShapeElement parentShape
)

Return Value

Type: Double
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.