다음을 통해 공유


ShaderEffect.PaddingTop Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the amount by which the effect's output texture is larger than its input texture along the top edge.

Namespace:  System.Windows.Media.Effects
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Protected Property PaddingTop As Double
protected double PaddingTop { get; set; }

Property Value

Type: System.Double
The padding along the top edge of the effect.

Remarks

This property is necessary for effects like DropShadowEffect which expand the size of the elements they are applied to.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.