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



Gets or sets the color to use to clear the area outside the shutter. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

The color to use to clear the area outside the shutter. Default value is a solid Black color.

Example

For XAML example, refer to CircularShutterEffect.

For C#/VB examples, refer to CircularShutterEffect.

Remarks

This effect uses the Center, Radius and AspectRatio properties to construct the shutter area. The area outside the shutter are cleared using the color set in the ClearColor property.

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