Class InAppNotification
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.WCT
Assembly: Legerity.WCT.dll
Syntax
public class InAppNotification : WindowsElementWrapper
Constructors
| Improve this Doc View SourceInAppNotification(WindowsElement)
Initializes a new instance of the InAppNotification class.
Declaration
public InAppNotification(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceDismissButton
Gets the dismiss button.
Declaration
public virtual Button DismissButton { get; }
Property Value
Type | Description |
---|---|
Button |
Message
Gets the message displayed.
Note, this only works if the Content is based on a
Declaration
public virtual string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceDismiss()
Dismissed the in-app notification.
Declaration
public virtual void Dismiss()
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to InAppNotification)
Allows conversion of a
Declaration
public static implicit operator InAppNotification(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
InAppNotification | The InAppNotification. |
Implicit(RemoteWebElement to InAppNotification)
Allows conversion of a
Declaration
public static implicit operator InAppNotification(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
InAppNotification | The InAppNotification. |
Implicit(WindowsElement to InAppNotification)
Allows conversion of a
Declaration
public static implicit operator InAppNotification(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
InAppNotification | The InAppNotification. |