Class InfoBar
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.WinUI
Assembly: Legerity.WinUI.dll
Syntax
public class InfoBar : WindowsElementWrapper
Constructors
| Improve this Doc View SourceInfoBar(WindowsElement)
Initializes a new instance of the InfoBar class.
Declaration
public InfoBar(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceCloseButton
Gets the element associated with the close Button.
Declaration
public virtual Button CloseButton { get; }
Property Value
Type | Description |
---|---|
Button |
IsOpen
Gets a value indicating whether the info bar is open.
Declaration
public virtual bool IsOpen { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Gets the message of the info bar.
Declaration
public virtual string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
MessageTextBlock
Gets the element associated with the message TextBlock.
Declaration
public virtual TextBlock MessageTextBlock { get; }
Property Value
Type | Description |
---|---|
TextBlock |
Title
Gets the title of the info bar.
Declaration
public virtual string Title { get; }
Property Value
Type | Description |
---|---|
System.String |
TitleTextBlock
Gets the element associated with the title TextBlock.
Declaration
public virtual TextBlock TitleTextBlock { get; }
Property Value
Type | Description |
---|---|
TextBlock |
Methods
| Improve this Doc View SourceClose()
Closes the info bar.
Declaration
public virtual void Close()
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to InfoBar)
Allows conversion of a
Declaration
public static implicit operator InfoBar(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
InfoBar | The InfoBar. |
Implicit(RemoteWebElement to InfoBar)
Allows conversion of a
Declaration
public static implicit operator InfoBar(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
InfoBar | The InfoBar. |
Implicit(WindowsElement to InfoBar)
Allows conversion of a
Declaration
public static implicit operator InfoBar(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
InfoBar | The InfoBar. |