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



Gets or sets the gray texture to use with this effect. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

A System.Windows.Media.Brush that specifies the gray texture to use with this effect. Default value is null (Nothing in Visual Basic).

Example

For C#/VB examples, refer to WindowLevelEffect.

Remarks

You don't usually provide the gray texture manually. Instead, use the WindowLevelEffect(RasterImage image) or FillGrayTexture methods to create the texture from a LEADTOOLS Leadtools.RasterImage.

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