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
Brightness Property
See Also 
Leadtools.Windows.Media.Effects Namespace > ContrastAdjustEffect Class : Brightness Property



Gets or sets the value to use to adjust the image brightness. This is a dependency property. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Property Brightness As Double
Visual Basic (Usage)Copy Code
Dim instance As ContrastAdjustEffect
Dim value As Double
 
instance.Brightness = value
 
value = instance.Brightness
C# 
public double Brightness {get; set;}
C++/CLI 
public:
property double Brightness {
   double get();
   void set (    double value);
}

Property Value

The value to use to adjust the image brightness. Valid values are 0.0 to 2.0. Default value is 0.0.

Example

For XAML example, refer to ContrastAdjustEffect.

For C#/VB examples, refer to ContrastAdjustEffect.

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