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





Occurs when the value of the Background property changes.

Syntax

Visual Basic (Declaration) 
Public Event BackgroundChanged() As RoutedPropertyChangedEventHandler(Of Brush)
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
Dim handler As RoutedPropertyChangedEventHandler(Of Brush)
 
AddHandler instance.BackgroundChanged, handler
C# 
public event RoutedPropertyChangedEventHandler<Brush> BackgroundChanged()
C++/CLI 
public:
event RoutedPropertyChangedEventHandler<Brush> BackgroundChanged();
XAML Attributes Usage 

<object BackgroundChanged=EventHandler<ExceptionRoutedEventArgs>/> ...

Routed Event Information 

Identifier field

BackgroundChangedEvent

Routing strategy

Bubbling

Delegate

EventHandler<(Of <(TEventArgs>)>)

XAML Attributes Usage 

<object BackgroundChanged=EventHandler<ExceptionRoutedEventArgs>/> ...

Routed Event Information 

Identifier field

BackgroundChangedEvent

Routing strategy

Bubbling

Delegate

EventHandler<(Of <(TEventArgs>)>)

Example

For XAML example, refer to Shape.

For C#/VB examples, refer to Shape.

Remarks

This event is raised if the Background property is changed by either a programmatic modification or user interaction.

Requirements

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

See Also