Intersoft ClientUI Documentation
ReflectionSource Property (ContentPerspective)



Gets or sets the reflection image source.
Syntax
<CategoryAttribute("Common Properties")>
Public Property ReflectionSource As ImageSource
Dim instance As ContentPerspective
Dim value As ImageSource
 
instance.ReflectionSource = value
 
value = instance.ReflectionSource
[CategoryAttribute("Common Properties")]
public ImageSource ReflectionSource {get; set;}
[CategoryAttribute("Common Properties")]
public:
property ImageSource^ ReflectionSource {
   ImageSource^ get();
   void set (    ImageSource^ value);
}
Remarks

By default, ContentPerspective generates the reflection image based on the specified content. You can use any data types as the content to be reflected by the ContentPerspective. However, if you’re using an Image as its content, it is recommended to use ReflectionSource to improve the performance. By providing ReflectionSource, the control will use the provided image instead of automatically generating the reflection image.

If you are using non-image content type and having performance issue, you may want to set the AutoRefresh property to false. When set to true, this property enables ContentPerspective to re-generate the reflection image whenever the content layout is updated, for instance, due to changes in the content such as text input, resizing, and visual states change.

The following example shows how to use ReflectionSource to improve the performance by skipping the reflection process.

XAML
Copy Code
<Intersoft:ContentPerspective Height="192" Width="256"
    ReflectionSource="/Penguins.jpg" RotationY="-45">
    <Image Source="/Penguins.jpg"/>
</Intersoft:ContentPerspective>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ContentPerspective Class
ContentPerspective Members

Concepts

ContentPerspective

Send Feedback