BCGControlBar Library for .NET
Pressed Property (CaptionCommandButton)




Gets a value indicating whether the CaptionCommandButton is in the pressed state.
Syntax
'Declaration
 
Public ReadOnly Property Pressed As Boolean
'Usage
 
Dim instance As CaptionCommandButton
Dim value As Boolean
 
value = instance.Pressed
public bool Pressed {get;}
public: __property bool get_Pressed();
public:
property bool Pressed {
   bool get();
}

Property Value

true if the Caption Command button is in the pressed state; otherwise, false.
Remarks
By default caption command button gets the pressed state on mouse down event when the active mouse button is left and loses it on mouse up event.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CaptionCommandButton Class
CaptionCommandButton Members

Send Feedback