HeaderPane
Main
Hide
Share Link
Print

ImageBackgroundPressed Property, SftButton Object

Defines the background image when the button is pressed.

Syntax

Get

C#SftPictureObject refImageObj = object.ImageBackgroundPressed;
VB.NETrefImageObj = object.ImageBackgroundPressed As SftPictureObject
C++ISftPictureObject* refImageObj = object->ImageBackgroundPressed;
ISftPictureObject* refImageObj = object->GetImageBackgroundPressed();
CHRESULT object->get_ImageBackgroundPressed(ISftPictureObject** refImageObj);
VBSet refImageObj = object.ImageBackgroundPressed As SftPictureObject

Put

C#SftPictureObject object.ImageBackgroundPressed = refImageObj;
VB.NETobject.ImageBackgroundPressed = refImageObj As SftPictureObject
C++ISftPictureObject* object->ImageBackgroundPressed = refImageObj;
void object->PutImageBackgroundPressed(ISftPictureObject* refImageObj);
CHRESULT object->put_ImageBackgroundPressed(ISftPictureObject* refImageObj);
VBobject.ImageBackgroundPressed = refImageObj As SftPictureObject

object

A SftButton object.

refImageObj

Defines the background image when the button is pressed.

Comments

The ImageBackgroundPressed property defines the background image when the button is pressed.

Each button control offers an optional background image, which is always displayed centered within the available space inside the button. Other components of the button, like the attributes defined using the Text, Image1 or Image2 properties, simply overlay the background image.

Depending on the button state, the background image defined using the ImageBackground, ImageBackgroundDisabled, ImageBackgroundHover or ImageBackgroundPressed is displayed.

The background image is not displayed in the drop down portion of a drop down button.

See Also SftButton Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.