Class Expander
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.WCT
Assembly: Legerity.WCT.dll
Syntax
public class Expander : WindowsElementWrapper
Constructors
| Improve this Doc View SourceExpander(WindowsElement)
Initializes a new instance of the Expander class.
Declaration
public Expander(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceIsExpanded
Gets a value indicating whether the expander has the content expanded (visible).
Declaration
public virtual bool IsExpanded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ToggleButton
Gets the ToggleButton associated with the expander.
Declaration
public virtual ToggleButton ToggleButton { get; }
Property Value
Type | Description |
---|---|
ToggleButton |
Methods
| Improve this Doc View SourceCollapse()
Collapses the content of the expander.
Declaration
public virtual void Collapse()
Expand()
Expands the content of the expander.
Declaration
public virtual void Expand()
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to Expander)
Allows conversion of a
Declaration
public static implicit operator Expander(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
Expander | The Expander. |
Implicit(RemoteWebElement to Expander)
Allows conversion of a
Declaration
public static implicit operator Expander(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
Expander | The Expander. |
Implicit(WindowsElement to Expander)
Allows conversion of a
Declaration
public static implicit operator Expander(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
Expander | The Expander. |