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






Defines a content decorator that can stretch and scale a single child to fill the available space.

Object Model

ViewboxInternal Class

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("Child")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Class ViewboxInternal 
   Inherits Intersoft.Client.Framework.ISContentControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As ViewboxInternal
C# 
[ContentPropertyAttribute("Child")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public class ViewboxInternal : Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
Delphi 
public class ViewboxInternal = class(Intersoft.Client.Framework.ISContentControl, IControl, IFramework, ILicensing)
JScript 
ContentPropertyAttribute("Child")
EditorBrowsableAttribute(EditorBrowsableState.Never)
public class ViewboxInternal extends Intersoft.Client.Framework.ISContentControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[ContentPropertyAttribute("Child")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public __gc class ViewboxInternal : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
C++/CLI 
[ContentPropertyAttribute("Child")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public ref class ViewboxInternal : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  

Remarks

Viewbox should inherit from Decorator (which inherits from FrameworkElement), but the closest working base in Silverlight is the ContentControl class. This provides a number of extra APIs not present in WPF that should be avoided (including the Template property which should not be changed from its default value). Viewbox has been sealed to prevent the creation of derived classes that depend on these features not available on its WPF counterpart.

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.ViewboxInternal
                        Intersoft.Client.UI.Controls.Viewbox

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.