Intersoft ClientUI Documentation
Stretch Property
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > ViewboxInternal Class : Stretch Property






Gets or sets the System.Windows.Media.Stretch mode, which determines how content fits into the available space.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property Stretch As Stretch
Visual Basic (Usage)Copy Code
Dim instance As ViewboxInternal
Dim value As Stretch
 
instance.Stretch = value
 
value = instance.Stretch
C# 
[CategoryAttribute("Common Properties")]
public Stretch Stretch {get; set;}
Delphi 
public read-write property Stretch: Stretch; 
JScript 
CategoryAttribute("Common Properties")
public function get,set Stretch : Stretch
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property Stretch get_Stretch();
public: __property void set_Stretch( 
   Stretch value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property Stretch Stretch {
   Stretch get();
   void set (    Stretch value);
}

Property Value

A System.Windows.Media.Stretch mode, which determines how content fits in the available space. The default is System.Windows.Media.Stretch.Uniform.

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.