다음을 통해 공유


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

‘선언
Protected Overridable Function GetPaddingAboveItemText ( _
    parentShape As ShapeElement _
) As Double
protected virtual double GetPaddingAboveItemText(
    ShapeElement parentShape
)
protected:
virtual double GetPaddingAboveItemText(
    ShapeElement^ parentShape
)
abstract GetPaddingAboveItemText : 
        parentShape:ShapeElement -> float 
override GetPaddingAboveItemText : 
        parentShape:ShapeElement -> float 
protected function GetPaddingAboveItemText(
    parentShape : ShapeElement
) : double

Parameters

Return Value

Type: System.Double

.NET Framework Security

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace