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
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
WizardButtonContainer()
Initializes an instance of the class.
public WizardButtonContainer()
Properties
BackButton
The ButtonBase that represents the Back button in the template.
public ButtonBase? BackButton { get; }
Property Value
Remarks
This property corresponds to PART_BackButton in the template.
CancelButton
The ButtonBase that represents the Cancel button in the template.
public ButtonBase? CancelButton { get; }
Property Value
Remarks
This property corresponds to PART_CancelButton in the template.
FinishButton
The ButtonBase that represents the Finish button in the template.
public ButtonBase? FinishButton { get; }
Property Value
Remarks
This property corresponds to PART_FinishButton in the template.
HelpButton
The ButtonBase that represents the Help button in the template.
public ButtonBase? HelpButton { get; }
Property Value
Remarks
This property corresponds to PART_HelpButton in the template.
NextButton
The ButtonBase that represents the Next button in the template.
public ButtonBase? NextButton { get; }
Property Value
Remarks
This property corresponds to PART_NextButton in the template.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.