public StepperBaseViewModel() : base() { m_layout = StepperLayout.Horizontal; m_isLinear = false; m_contentAnimationsEnabled = true; }
public StepperViewModel() : base() { m_layout = StepperLayout.Horizontal; m_isLinear = false; m_blockNavigationOnValidationErrors = false; }
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(); }
public StepperViewModel() : base() { m_layout = StepperLayout.Horizontal; m_isLinear = false; }
public StepperBaseViewModel() { this.Layout = StepperLayout.Vertical; this.IsLinear = true; this.ContentAnimationsEnabled = true; }