New to Telerik UI for WPF? Start a free 30-day trial
How to Make RadDesktopAlert's Height scale Based on its Content.
Updated on Sep 15, 2025
Environment
| Product Version | 2024.2.514 |
| Product | RadListBox for WPF |
Description
The RadDesktopAlert's Height property is set to a certain value based on the theme that is applied. This will cause the content to not be fully displayed in scenarios where the value set to the Content property exceeds the predefined height value.
Solution
To scale the height of the RadDesktopAlert's height based on the displayed content, set the Height property to Auto.
Setting the Height property of RadDesktopAlert to Auto
XAML
<telerik:RadDesktopAlert Height="Auto"/>