WPF Control: where is “OnLoaded” virtual function?

后端 未结 2 1325
情话喂你
情话喂你 2021-02-19 21:48

In WinForm\'s control, there is an OnLoaded virtual function, but this seems to be missing in WPF control. I found this function very useful in some situations. For example, I c

2条回答
  •  时光说笑
    2021-02-19 22:24

    you will be looking for FrameworkElement.EndInit()

    This will work after the initialization process of the Element...

提交回复
热议问题