Navigation over a Fixed Linear Topology Sample

This sample illustrates how to provide navigation over a fixed linear topology. Building the Sample Install the Windows Software Development Kit (SDK) and open its build environment command window.

 
 
 
 
 
(0)
8,214 times
Add to favorites
2/1/2011
E-mail Twitter del.icio.us Digg Facebook
namespace FixedLinearTopologySample
{
    using System;
    using System.Collections.ObjectModel;
    using System.Windows.Navigation;

    /// <summary>
    /// Used to manage the state of a particular Wizard, including:
    ///    1) If completed, whether it was accepted or canceled (.Result)
    ///    2) The data that was collected by the Wizard (.Data).
    /// </summary>
    public class WizardContext
    {
        WizardResult result;
        object data;

        public WizardContext(WizardResult result, object data) {
            this.result = result;
            this.data = data;
        }
        
        public WizardResult Result
        {
            get { return this.result; }
            set { this.result = value; }
        }

        public object Data
        {
            get { return this.data; }
            set { this.data = value; }
        }
    }
}