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 > BitmapSourceViewer Class : SizeMode Property





Determines how the BitmapSourceViewer 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 BitmapSourceViewer
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=PaintSizeMode .../>

Dependencies Property Information 

Identifier field

SizeModeProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object SizeMode=PaintSizeMode .../>

Dependencies Property Information 

Identifier field

SizeModeProperty

Metadata properties set to true

None

Return Value

Value which determines how the BitmapSourceViewer displays the image.

Example

For XAML example, refer to BitmapSourceViewer.

For C#/VB examples, refer to BitmapSourceViewer.

Requirements

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

See Also