In This Article

WizardButtonContainer Class

Represents a button container for the Wizard control.

[TemplatePart(Name = "PART_BackButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_CancelButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_FinishButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_HelpButton", Type = typeof(ButtonBase))]
[TemplatePart(Name = "PART_NextButton", Type = typeof(ButtonBase))]
public class WizardButtonContainer : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control Object

Constructors

WizardButtonContainer()

public WizardButtonContainer()

Properties

BackButton

Gets the System.Windows.Controls.Primitives.ButtonBase that represents the Back button in the template.

public ButtonBase BackButton { get; }

Property Value

System.Windows.Controls.Primitives.ButtonBase:

The System.Windows.Controls.Primitives.ButtonBase that represents the Back button in the template.

Remarks

This property corresponds to PART_BackButton in the template.

CancelButton

Gets the System.Windows.Controls.Primitives.ButtonBase that represents the Cancel button in the template.

public ButtonBase CancelButton { get; }

Property Value

System.Windows.Controls.Primitives.ButtonBase:

The System.Windows.Controls.Primitives.ButtonBase that represents the Cancel button in the template.

Remarks

This property corresponds to PART_CancelButton in the template.

FinishButton

Gets the System.Windows.Controls.Primitives.ButtonBase that represents the Finish button in the template.

public ButtonBase FinishButton { get; }

Property Value

System.Windows.Controls.Primitives.ButtonBase:

The System.Windows.Controls.Primitives.ButtonBase that represents the Finish button in the template.

Remarks

This property corresponds to PART_FinishButton in the template.

HelpButton

Gets the System.Windows.Controls.Primitives.ButtonBase that represents the Help button in the template.

public ButtonBase HelpButton { get; }

Property Value

System.Windows.Controls.Primitives.ButtonBase:

The System.Windows.Controls.Primitives.ButtonBase that represents the Help button in the template.

Remarks

This property corresponds to PART_HelpButton in the template.

NextButton

Gets the System.Windows.Controls.Primitives.ButtonBase that represents the Next button in the template.

public ButtonBase NextButton { get; }

Property Value

System.Windows.Controls.Primitives.ButtonBase:

The System.Windows.Controls.Primitives.ButtonBase that represents the Next button in the template.

Remarks

This property corresponds to PART_NextButton in the template.

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Creates and returns an System.Windows.Automation.Peers.AutomationPeer object for this type.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

System.Windows.Automation.Peers.AutomationPeer:

The System.Windows.Automation.Peers.AutomationPeer that was created.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()

Extension Methods