ShowImageAsButton Property


Gets or sets a value that indicates if the Image set in the text box should be displayed as a clickable button.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2011

Syntax

C#
public bool ShowImageAsButton { get; set; }
Visual Basic
Public Property ShowImageAsButton As Boolean
	Get
	Set
Visual C++
public:
property bool ShowImageAsButton {
	bool get ();
	void set (bool value);
}

Remarks

If this property is true, the image will shown as a button inside the textbox. Clicking this button will trigger the EnterPressed event. The default value is false.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →