Dmitriy Kovalenko Dmitriy Kovalenko - 1 year ago 103
C# Question

Missing events on UWP

Im creating custom control on uwp (from wpf) and I`ve missed several events, such like:

  1. OnTemplateChanged

  2. OnRender

  3. OnRenderSizeChanged

Where are them? Or can I replace them with other handlers?

Answer Source
  1. No equivalent, you may subscribe to changes of the Template property, e.g. by a Binding.

  2. No equivalent, there's nothing like DrawingVisual/DrawContext in UWP.

  3. FrameworkElement.SizeChanged

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download