ASPxButton.AllowFocus Property
Gets or sets a value specifying whether the button can receive focus.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
Use the ASPxButton.FocusRectBorder property to get access to the focus rectangle’s settings which define the width, style, and color.
Example
Refer to the following demo for a full example: Button - Appearance Customization.
<dx:ASPxButton ID="btnBlueBall" runat="server" AutoPostBack="False" AllowFocus="False" RenderMode="Link">
<!-- ... -->
</dx:ASPxButton>
See Also