LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Input Property
See Also 
Leadtools.Windows.Media.Effects Namespace > DesaturateEffect Class : Input Property



Gets or sets an optional brush that represents the result of this effect. This is a dependency property. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Property Input As Brush
Visual Basic (Usage)Copy Code
Dim instance As DesaturateEffect
Dim value As Brush
 
instance.Input = value
 
value = instance.Input
C# 
public Brush Input {get; set;}
C++/CLI 
public:
property Brush^ Input {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

A System.Windows.Media.Brush that specifies the optional result of this effect. Default value is null (Nothing in Visual Basic).

Example

For XAML example, refer to Input.

For C#/VB examples, refer to Input.

Remarks

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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also