如何在 WPF 中的页面之间传递数据?
谢谢!
您可以在ctor中传递数据
PageSearchFieldFTS nextPage = new PageSearchFieldFTS((GabeLib.FieldDef)SearchFieldSelected, paramAndOr);
SrchItemEditDetail.Content = nextPage; // SrchItemEditDetail is a frame
public partial class PageSearchFieldFTS : Page
{
public PageSearchFieldFTS(GabeLib.FieldDef FieldDef, GabeLib.enumAndOr AndOr)
{