internal DrawStepListItemEventArgs(Graphics graphics, Font font, Rectangle itemRect, WizardPage page, bool isSelected, bool isCompleted) { Graphics = graphics; Font = font; Bounds = itemRect; Item = page; Selected = isSelected; Completed = isCompleted; }
public string GetStepText(WizardPage page) => list.GetStepText(page);
private bool ShouldSerializeStepText(WizardPage page) => (GetStepText(page) != page.Text);
private void ResetStepText(WizardPage page) { SetStepText(page, null); }
/// <summary> /// Sets the step text indent level. /// </summary> /// <param name="page">The page.</param> /// <param name="value">The indent level.</param> public void SetStepTextIndentLevel(WizardPage page, int value) { list.SetStepTextIndentLevel(page, value); }
/// <summary> /// Sets the step text. /// </summary> /// <param name="page">The page.</param> /// <param name="value">The value.</param> public void SetStepText(WizardPage page, string value) { list.SetStepText(page, value); }
public int GetStepTextIndentLevel(WizardPage page) => list.GetStepTextIndentLevel(page);