Intersoft ClientUI Documentation
ContentPerspective Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace : ContentPerspective Class






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).

Object Model

ContentPerspective Class

Syntax

Visual Basic (Declaration) 
<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).")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
Public Class ContentPerspective 
   Inherits Intersoft.Client.Framework.ISContentControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As ContentPerspective
C# 
[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).")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
public class ContentPerspective : Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
Delphi 
public class ContentPerspective = class(Intersoft.Client.Framework.ISContentControl, IControl, IFramework, ILicensing)
JScript 
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).")
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
public class ContentPerspective extends Intersoft.Client.Framework.ISContentControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[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).")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
public __gc class ContentPerspective : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
C++/CLI 
[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).")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
public ref class ContentPerspective : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  

Example

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>

Remarks

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.

Inheritance Hierarchy

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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.