Class NodePortAutomationPeer
Exposes NodePort types to UI Automation.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram.Automation.Peers
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class NodePortAutomationPeer : FrameworkElementAutomationPeer
Constructors
NodePortAutomationPeer(NodePort)
Initializes a new instance of the NodePortAutomationPeer class.
Declaration
public NodePortAutomationPeer(NodePort owner)
Parameters
Type | Name | Description |
---|---|---|
NodePort | owner | The NodePort that is associated with this NodePortAutomationPeer. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the NodePort that is associated with this NodePortAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetAutomationIdCore()
Gets the string that uniquely identifies the NodePort that is associated with this NodePortAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationId.
Declaration
protected override string GetAutomationIdCore()
Returns
Type | Description |
---|---|
System.String | A string that contains the automation identifier. |
GetClassNameCore()
Gets the name of the class that defines the type that is associated with this NodePortAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | A string that contains "NodePort". |
GetLocalizedControlTypeCore()
Gets the localized version of the control type for the NodePort that is associated with this NodePortAutomationPeer.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
Type | Description |
---|---|
System.String | A string that contains "NodePort". |
GetNameCore()
Gets the text label of the NodePort that is associated with this NodePortAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetName.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | The text label of the element that is associated with this automation peer. |