Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
SizeMode Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewerElement Class : SizeMode Property





This member is available in the WPF Express Edition. See the LEADTOOLS products page for full details on more WPF features available with LEADTOOLS toolkits.

Determines how the BitmapSourceViewerElement displays the image. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property SizeMode As PaintSizeMode
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
Dim value As PaintSizeMode
 
instance.SizeMode = value
 
value = instance.SizeMode
C# 
public PaintSizeMode SizeMode {get; set;}
Managed Extensions for C++ 
public: __property PaintSizeMode get_SizeMode();
public: __property void set_SizeMode( 
   PaintSizeMode value
);
C++/CLI 
public:
property PaintSizeMode SizeMode {
   PaintSizeMode get();
   void set (PaintSizeMode value);
}
XAML Attributes Usage 

<object SizeMode=Leadtools.Windows.Controls.PaintSizeMode .../>

Dependency Property Information 

Identifier field

SizeModeProperty

Metadata properties set to true

AffectsMeasure, Inherits

Return Value

Value which determines how the BitmapSourceViewerElement displays the image.

Example

For XAML example, refer to Source.

For C#/VB examples, refer to BitmapSourceViewerElement.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also