Intersoft ClientUI Documentation
ContentChangedEvent Field
Example 



ContentChanged routed event.
Syntax
Public Shared ReadOnly ContentChangedEvent As RoutedEvent
Dim value As RoutedEvent
 
value = ISContentControl.ContentChangedEvent
public static readonly RoutedEvent ContentChangedEvent
public:
static readonly RoutedEvent^ ContentChangedEvent
Example
The following example shows how to handle ContentChanged routed event using ISEventManager
public MainPage()
{
    // Required to initialize variables
    InitializeComponent();
                        
    ISEventManager.RegisterInstanceHandler(this.LayoutRoot,
        Intersoft.Client.Framework.ISContentControl.ContentChangedEvent, 
        new ContentChangedRoutedEventHandler(StylishLabel_ContentChanged), false);
}

private void StylishLabel_ContentChanged(object sender, ContentChangedRoutedEventArgs e)
{
    // Handles content changed
}
The following example shows how to handle ContentChanged rotued event using EventManager
public MainPage()
{
    // Required to initialize variables
    InitializeComponent();
                        
    EventManager.RegisterClassHandler(typeof(MainPage),
        Intersoft.Client.Framework.ISContentControl.ContentChangedEvent, new
        ContentChangedRoutedEventHandler(StylishLabel_ContentChanged), false);
}

private void StylishLabel_ContentChanged(object sender, ContentChangedRoutedEventArgs e)
{
    // Handles content changed
}
Remarks
ContentChangedEvent is a routed event that raised when Content value of ISContentControl is changed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ISContentControl Class
ISContentControl Members

Concepts

Content Model Overview

Send Feedback