简体   繁体   中英

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?

  1. No equivalent, you may subscribe to changes of the Template property, eg by a Binding.

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

  3. FrameworkElement.SizeChanged

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM