Class RichTextBoxAutomationPeer
Exposes RichTextBox types to UI automation.
Inheritance
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class RichTextBoxAutomationPeer : FrameworkElementAutomationPeer, IDependencyObject
Constructors
| Improve this Doc View SourceRichTextBoxAutomationPeer(RichTextBox)
Initializes a new instance of the RichTextBoxAutomationPeer class.
Declaration
public RichTextBoxAutomationPeer(RichTextBox owner)
Parameters
| Type | Name | Description |
|---|---|---|
| RichTextBox | owner | The RichTextBox owner of the automation peer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the control that is associated with this RichTextBoxAutomationPeer. This method is called by GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| AutomationControlType | A value of the enumeration. |
Overrides
| Improve this Doc View SourceGetChildrenCore()
Returns automation peers for the collection of child elements of the RichTextBox that is associated with this FrameworkElementAutomationPeer. This method is called by GetChildren().
Declaration
[NotImplemented]
protected override List<AutomationPeer> GetChildrenCore()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<AutomationPeer> | A list of AutomationPeer objects for child elements. |
Overrides
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the class that is associated with this RichTextBoxAutomationPeer. This method is called by GetClassName().
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The class name. |
Overrides
| Improve this Doc View SourceGetPattern(PatternInterface)
Gets an object that supports the requested pattern, based on the patterns supported by this RichTextBoxAutomationPeer.
Declaration
[NotImplemented]
public override object GetPattern(PatternInterface patternInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| PatternInterface | patternInterface | One of the enumeration values. |
Returns
| Type | Description |
|---|---|
| System.Object | The object that implements the pattern interface; or null, if the specified pattern interface is not implemented by this peer. |