[]
        
(Showing Draft Content)

C1.WPF.Tile.C1Tile.OnContentChanged

OnContentChanged Method

OnContentChanged(object, object)

Called when the Content property changes. This implementation performs next actions:

  • places old content into the BackContentPresenter element,
  • updates ContentPresenter element with new content,
  • updates ContentTemplate if BackContentTemplate or ContentTemplateSelector property is set,
  • runs tile update animation.
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
Type Name Description
object oldContent

The old value of the Content property.

object newContent

The new value of the Content property.