Visual Basic (Declaration) | |
---|---|
Public Property Input As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SharpenEffect Dim value As Brush instance.Input = value value = instance.Input |
C# | |
---|---|
public Brush Input {get; set;} |
Property Value
A System.Windows.Media.Brush that specifies the optional result of this effect. Default value is null (Nothing in Visual Basic).You can use the Input property to specify a brush that will contain the result of applying this effect to accomplish tasks such as using a System.Windows.Media.Imaging.RenderTargetBitmap to cascade different shaders or save the result of the effect on an image.
If you set the Input property of this class, you must also set the InputSize to specify the size of the brush.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)