Intersoft ClientUI Documentation
StretchDirection Enumeration
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace : StretchDirection Enumeration






Describes the direction that content is scaled.

Syntax

Visual Basic (Declaration) 
Public Enum StretchDirection 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As StretchDirection
C# 
public enum StretchDirection : System.Enum 
Delphi 
public enum StretchDirection = class(System.Enum)
JScript 
public enum StretchDirection extends System.Enum
Managed Extensions for C++ 
__value public enum StretchDirection : public System.Enum 
C++/CLI 
public enum class StretchDirection : public System.Enum 

Members

MemberDescription
BothThe content stretches to fit the parent according to the System.Windows.Controls.Viewbox.Stretch property.
DownOnlyThe content scales downward only when it is larger than the parent. If the content is smaller, no scaling upward is performed.
UpOnlyThe content scales upward only when it is smaller than the parent. If the content is larger, no scaling downward is performed.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Intersoft.Client.UI.Controls.StretchDirection

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.