Visual Basic (Declaration) | |
---|---|
Public Property AspectRatio As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CircularShutterEffect Dim value As Double instance.AspectRatio = value value = instance.AspectRatio |
C# | |
---|---|
public double AspectRatio {get; set;} |
Property Value
The aspect ratio of the shutter. This value is multiplied by the Radius value to generate an elliptical shutter. Default value is 1.5.For XAML example, refer to CircularShutterEffect.
For C#/VB examples, refer to CircularShutterEffect.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)