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:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control Object

Constructors

WizardButtonContainer()

public WizardButtonContainer()

Properties

BackButton

Gets the ButtonBase that represents the Back button in the template.

public ButtonBase BackButton { get; }

Property Value

ButtonBase:

The ButtonBase that represents the Back button in the template.

Remarks

This property corresponds to PART_BackButton in the template.

CancelButton

Gets the ButtonBase that represents the Cancel button in the template.

public ButtonBase CancelButton { get; }

Property Value

ButtonBase:

The ButtonBase that represents the Cancel button in the template.

Remarks

This property corresponds to PART_CancelButton in the template.

FinishButton

Gets the ButtonBase that represents the Finish button in the template.

public ButtonBase FinishButton { get; }

Property Value

ButtonBase:

The ButtonBase that represents the Finish button in the template.

Remarks

This property corresponds to PART_FinishButton in the template.

HelpButton

Gets the ButtonBase that represents the Help button in the template.

public ButtonBase HelpButton { get; }

Property Value

ButtonBase:

The ButtonBase that represents the Help button in the template.

Remarks

This property corresponds to PART_HelpButton in the template.

NextButton

Gets the ButtonBase that represents the Next button in the template.

public ButtonBase NextButton { get; }

Property Value

ButtonBase:

The 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 AutomationPeer object for this type.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The AutomationPeer that was created.

Inherited Members

Extension Methods