public StepperBaseViewModel()
     : base()
 {
     m_layout   = StepperLayout.Horizontal;
     m_isLinear = false;
     m_contentAnimationsEnabled = true;
 }
Example #2
0
 public StepperViewModel()
     : base()
 {
     m_layout   = StepperLayout.Horizontal;
     m_isLinear = false;
     m_blockNavigationOnValidationErrors = false;
 }
Example #3
0
        public override void OnApplyTemplate()
        {
            // read the Orientation of the Stepper and set it as the Mode
            //     - changing the Layout throws the UI of the Stepper and builds a new one
            //     - therefore this method will be called for a new instance and the changes of the Layout will be applied to Mode
            Stepper stepper = FindStepper();

            if (stepper != null)
            {
                Mode = stepper.Layout;
            }

            base.OnApplyTemplate();
        }
Example #4
0
 public StepperViewModel()
     : base()
 {
     m_layout   = StepperLayout.Horizontal;
     m_isLinear = false;
 }
 public StepperBaseViewModel()
 {
     this.Layout   = StepperLayout.Vertical;
     this.IsLinear = true;
     this.ContentAnimationsEnabled = true;
 }