UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ButtonDescription Class
Description of a SAP GUI for Windows button.
Syntax
public class ButtonDescription : ElementDescription, 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

Public Constructors
 NameDescription
Public ConstructorButtonDescription Constructor  
Top
Public Properties
 NameDescription
Public PropertyAbsoluteLocationThe element's coordinates relative to the screen in pixels. 0,0 is the top-left corner of the primary monitor. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription)
Public PropertyContainerNameThe name of the parent object.  
Public PropertyIdThe element's unique identifier in text format. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription)
Public PropertyIndexThe 0-based index of this object, relative to all other objects with an otherwise identical description. (Inherited from HP.LFT.SDK.Description)
Public PropertyIsEnabledIndicates whether the button can accept user input.  
Public PropertyLocationThe element's coordinates relative to the parent's location in pixels. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription)
Public PropertyNameThe name of the element. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription)
Public PropertySizeThe element's size in pixels. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription)
Public PropertyTextThe text associated with the button.  
Public PropertyTooltipThe buttons's tooltip.  
Public PropertyTypeThe numeric identification of the GUI component type. (Inherited from HP.LFT.SDK.SAP.GUI.ElementDescription)
Public PropertyVriDistinguishes 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
 NameDescription
Public MethodCloneCreates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription)
Top