ButtonSettings.RenderMode Property

Gets or sets a value that specifies whether a Button is rendered as a button or as a link.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public ButtonRenderMode RenderMode { get; set; }
Public Property RenderMode As ButtonRenderMode

Property Value

Type Description

One of the ButtonRenderMode enumeration values.


Use the RenderMode property to specify which element is used to render a button: an input (the Button value) or a link (the Link value). To render a button as an image, set the RenderMode property to ButtonRenderMode.Link, specify the button's ButtonSettings.Images.Image property, and clear the ButtonSettings.Text property.

See Also