Intersoft.Client.UI.Controls Namespace : ContentPerspective Class |
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <DescriptionAttribute("Provides a lightweight control which able to produce a reflection of the given content and give a sense of perspective to both content and its reflection when plane projection is applied (e.g rotation).")> Public Class ContentPerspective Inherits Intersoft.Client.Framework.ISContentControl Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
Dim instance As ContentPerspective
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [DescriptionAttribute("Provides a lightweight control which able to produce a reflection of the given content and give a sense of perspective to both content and its reflection when plane projection is applied (e.g rotation).")] public class ContentPerspective : Intersoft.Client.Framework.ISContentControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [DescriptionAttribute("Provides a lightweight control which able to produce a reflection of the given content and give a sense of perspective to both content and its reflection when plane projection is applied (e.g rotation).")] public ref class ContentPerspective : public Intersoft.Client.Framework.ISContentControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
ContentPerspective is inherited from ISContentControl, which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information about this content model, see Content Model Overview.
The following example shows multiple content types used as content of ContentPerspective.
XAML |
Copy Code
|
---|---|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal"> <Intersoft:ContentPerspective Height="192" Width="256" RotationY="-45"> <Image Source="/Penguins.jpg"/> </Intersoft:ContentPerspective> <Intersoft:ContentPerspective Height="150" Width="150" RotationY="45"> <Intersoft:UXButton Content="Button" VerticalAlignment="Bottom"/> </Intersoft:ContentPerspective> <Intersoft:ContentPerspective Height="150" Width="150" RotationY="45"> <Intersoft:UXTextBox Text="Text Box Content" VerticalAlignment="Bottom"/> </Intersoft:ContentPerspective> </StackPanel> |
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
Intersoft.Client.Framework.ISContentControl
Intersoft.Client.UI.Controls.ContentPerspective
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