示例#1
0
        void pageFunctionHyperlink_Click(object sender, RoutedEventArgs e)
        {
            // Instantiate and navigate to page function
            CalledPageFunction CalledPageFunction = new CalledPageFunction("Initial Data Item Value");

            CalledPageFunction.Return += pageFunction_Return;
            this.NavigationService.Navigate(CalledPageFunction);
        }
        //</SnippetCallingPageDefaultCODEBEHIND2>
        //<SnippetProcessResultCODEBEHIND2>
        void pageFunctionHyperlink_Click(object sender, RoutedEventArgs e)
        {
            // Instantiate and navigate to page function
            CalledPageFunction CalledPageFunction = new CalledPageFunction("Initial Data Item Value");

            //</SnippetPassingDataCODEBEHIND1>
            //</SnippetSendDataCODEBEHIND1>
            CalledPageFunction.Return += pageFunction_Return;
            //<SnippetSendDataCODEBEHIND2>
            this.NavigationService.Navigate(CalledPageFunction);
            //<SnippetPassingDataCODEBEHIND2>
        }