如何在WPF中的页面之间传递数据?
谢谢!
答案 0 :(得分:0)
您可以在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)
{