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





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;}
C++/CLI 
public:
property PaintSizeMode SizeMode {
   PaintSizeMode get();
   void set (PaintSizeMode value);
}
XAML Attributes Usage 

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

Dependencies Property Information 

Identifier field

SizeModeProperty

Metadata properties set to true

AffectsMeasure, Inherits

XAML Attributes Usage 

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

Dependencies 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