IElement

Mobilize.QualityMate.ControlInterfaces

IElement Interface

Defines the basic interactions for controls that implement the Element interface.

public interface IElement :
Mobilize.QualityMate.ControlInterfaces.Behavior.ITextControl,
Mobilize.QualityMate.ControlInterfaces.IControl,
Mobilize.QualityMate.ControlInterfaces.Behavior.IValidatable

Implements ITextControl, IControl, IValidatable

Properties

IElement.Displayed Property

Gets a value indicating whether this control is displayed.

bool Displayed { get; }

Property Value

System.Boolean

Methods

IElement.As() Method

Converts this control to an instance of T.

T As<T>()
    where T : Mobilize.QualityMate.ControlInterfaces.IControl;

Type parameters

T

The control type of the new instance.

Returns

T A new instance of the specific control.

IElement.Find(string) Method

Find an inner control using a selector.

T Find<T>(string selector)
    where T : Mobilize.QualityMate.ControlInterfaces.IControl;

Type parameters

T

The control type of the new instance.

Parameters

selector System.String

The selector used to find the controls.

Returns

T A new instance of the specific control found.

IElement.GetStyle(string) Method

Gets the style.

string GetStyle(string property);

Parameters

property System.String

The property to get.System.String.

Returns

System.String The found style if not returns null.System.String.

Last updated