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.
Occurs when the value of the SizeMode property changes.Visual Basic (Declaration) | |
---|---|
Public Event SizeModeChanged() As RoutedPropertyChangedEventHandler(Of PaintSizeMode) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event RoutedPropertyChangedEventHandler<PaintSizeMode> SizeModeChanged() |
Managed Extensions for C++ | |
---|---|
public: __event RoutedPropertyChangedEventHandler<PaintSizeMode> SizeModeChanged(); |
C++/CLI | |
---|---|
public: event RoutedPropertyChangedEventHandler<PaintSizeMode> SizeModeChanged(); |
XAML Attributes Usage | |
---|---|
<object SizeModeChanged=EventHandler<ExceptionRoutedEventArgs>/> ... |
Routed Event Information | |
---|---|
Identifier field | |
Routing strategy | Bubbling |
Delegate | EventHandler<(Of <(TEventArgs>)>) |
This example uses the SizeModeChanged event to show how the SizeMode has changed.
Visual Basic | Copy Code |
---|---|
Private Sub viewer_SizeModeChanged(ByVal sender As Object, ByVal e As RoutedPropertyChangedEventArgs(Of PaintSizeMode)) |
C# | Copy Code |
---|---|
private void viewer_SizeModeChanged(object sender, EventArgs e) |
XAML | Copy Code |
---|---|
<Window x:Class="WPFSamples.BitmapSourceViewerElement" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Controls="clr-namespace:Leadtools.Windows.Controls;assembly=Leadtools.Windows.Controls"> |
This event is raised if the SizeMode property is changed by either a programmatic modification or user interaction.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family