DevExtreme v23.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.
Button

Icons

To add an icon to a Button, set the icon property. This demo shows how you can use this property:

  • Built-in icons
    DevExtreme ships with its own icon library. Pick any icon and assign its name to the icon property.

  • Image file
    Set the icon value to the image file path or URI.

  • 3rd-party icon fonts
    You can import a 3rd-party font library (this example uses Font Awesome). In such cases, set the icon property to a name that identifies the required glyph. Look up names in the imported library's documentation.

  • Buttons with icons and no caption text
    Define the icon, but do not define the text property. You can use the hint property to annotate the button.

Refer to the Icons help topic for additional information.

Thank you for your interest in our ASP.NET MVC product libraries and UI component suite. We are moving ASP.NET MVC-related demos and content to DevExpress.com. Please make sure to update your bookmarks with our new URL.

View Demo