Interface ILabel
A label control in a SAP GUI for Windows application.
public interface ILabel : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject
- Inherited Members
- Extension Methods
Properties
IconName
The name of the icon used in the label.
string IconName { get; }
Property Value
IsHighlighted
Indicates whether the label is highlighted.
bool IsHighlighted { get; }
Property Value
IsNumerical
Indicates whether the label is a numerical field.
bool IsNumerical { get; }
Property Value
MaxLength
The maximum number of characters that can be displayed in the label.
uint MaxLength { get; }
Property Value
RelativeId
The object's unique identifier relative to the parent window ID, in text format.
string RelativeId { get; }
Property Value
Text
The value of the label, either the text string or the icon name.
string Text { get; }
Property Value
Methods
SetCursorPosition(uint)
Sets the position of the cursor within the static text label.
void SetCursorPosition(uint pos)
Parameters
posuintThe 0-based character position.
SetFocus()
Sets the focus on the static text label.
void SetFocus()