pagefunction

WPF - PageFunctions. Why are they needed?

拥有回忆 提交于 2019-12-12 11:23:11
问题 I've been dabbling in WPF for a couple of months now and I've managed to grasp most of what's about and why/when it's used but I'm still struggling to see the value of the PageFunction class. Can someone give me a simple, but concrete example of when a PageFunction might be the correct tool for the job? 回答1: Mainly, it seems to be a pattern to formalize branching in task based UI. Let's say you have a form with a checkmark for an optional feature, but this feature requires additional