Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.12 KB

kb-desktopalert-set-height.md

File metadata and controls

38 lines (31 loc) · 1.12 KB
title description page_title type slug position tags res_type
How to Make RadDesktopAlert's Height scale Based on its Content.
This article shows how you can set the height of RadDesktopAlert to be set based on its content's height.
Make DesktopAlert's Height Change Based on its Content.
how-to
kb-desktopalert-set-height
0
wpf, desktopalert, height, scale, content
kb

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.

[XAML] Setting the Height property of RadDesktopAlert to Auto

{{region kb-desktopalert-set-height-0}} <telerik:RadDesktopAlert Height="Auto"/> {{endregion}}