-1

如何在 WPF 中的页面之间传递数据?

谢谢!

4

1 回答 1

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)
    { 
于 2012-09-19T22:03:50.897 回答