Breaking Change T972514
Visible to All Users

Popup - The Content property has become obsolete

What Changed

We marked the Content property as obsolete.

Reasons for Change

In v21.1, we extended the Popup API to give you more flexible customization options. The Content property duplicates the functionality of newly introduced properties, and its name is inconsistent with other customization API's.

The Popup now includes the following properties:

Impact on Existing Apps

This change affects applications if the Content property is specified.

Razor
<DxPopup ...> <Content> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </Content> </DxPopup>

How to Update Existing Apps

If you specify plain text, you can use the BodyText property instead.

Razor
<DxPopup ... BodyText=@("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")> @*...*@ </DxPopup>

If you specify formatted text or custom content, replace Content with BodyContentTemplate.

Razor
<DxPopup ...> <BodyContentTemplate> <h1>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</h1> </BodyContentTemplate> </DxPopup>

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.