AutomationContentControl Class
Represents a content control that is visible in the UI automation framework.
public class AutomationContentControl : ContentControl
- Inheritance:
- object Visual UIElement FrameworkElement Control ContentControl object
Constructors
AutomationContentControl()
Initializes an instance of the class.
Properties
ControlType
Gets or sets the AutomationControlType used by this control in the WPF automation framework.
public AutomationControlType ControlType { get; set; }
Property Value
- AutomationControlType:
The AutomationControlType used by this control. The default value is
AutomationControlType.Pane
.
See Also
Methods
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
An instance of AutomationContentControlAutomationPeer.
See Also
Fields
ControlTypeProperty
Identifies the ControlType dependency property. This field is read-only.
public static readonly DependencyProperty ControlTypeProperty