ElementDescription Class
Description of a SAP GUI for Windows element.

C# Syntax

public class ElementDescription : HP.LFT.SDK.Description, HP.LFT.SDK.IDescription  
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.PropertiesDescription
      HP.LFT.SDK.Description
         HP.LFT.SDK.SAP.GUI.ElementDescription
            HP.LFT.SDK.SAP.GUI.ButtonDescription
            HP.LFT.SDK.SAP.GUI.CalendarDescription
            HP.LFT.SDK.SAP.GUI.CheckBoxDescription
            HP.LFT.SDK.SAP.GUI.ComboBoxDescription
            HP.LFT.SDK.SAP.GUI.EditFieldDescription
            HP.LFT.SDK.SAP.GUI.EditorDescription
            HP.LFT.SDK.SAP.GUI.LabelDescription
            HP.LFT.SDK.SAP.GUI.MenubarDescription
            HP.LFT.SDK.SAP.GUI.OKCodeDescription
            HP.LFT.SDK.SAP.GUI.RadioButtonDescription
            HP.LFT.SDK.SAP.GUI.StatusBarDescription
            HP.LFT.SDK.SAP.GUI.TabControlDescription
            HP.LFT.SDK.SAP.GUI.TableBaseDescription
            HP.LFT.SDK.SAP.GUI.ToolBarDescription
            HP.LFT.SDK.SAP.GUI.TreeViewDescription
            HP.LFT.SDK.SAP.GUI.WindowDescription

Public Constructors
  Name Description
Public Constructor ElementDescription Constructor Initializes a new instance of the ElementDescription class.  
Top
Public Properties
  Name Description
Public Property AbsoluteLocation The element's coordinates relative to the screen in pixels. 0,0 is the top-left corner of the primary monitor.  
Public Property Id The element's unique identifier in text format.  
Public Property Index The 0-based index of this object, relative to all other objects with an otherwise identical description. (Inherited from HP.LFT.SDK.Description )
Public Property Location The element's coordinates relative to the parent's location in pixels.  
Public Property Name The name of the element.  
Public Property Size The element's size in pixels.  
Public Property Type The numeric identification of the GUI component type.  
Public Property Vri Distinguishes this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application. (Inherited from HP.LFT.SDK.Description )
Top
Public Methods
  Name Description
Public Method Clone Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )
Top