Skip to content

TextBox.ShowImageAsButton

Public 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: 25.0.0.0 (25.0.0.0)

Syntax

public bool ShowImageAsButton { get; set; }

Property Value

Boolean

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.