Ticket Q471142
Visible to All Users
Duplicate

Default DisplayFormat

created 12 years ago

Hello
Default DisplayFormat for numeric values (double) is not suitable for me.
Default DisplayFormat for properties and summaries is different.
I can set DisplayFormat for each individual property and it works.
How to set default DisplayFormat for double, int and other values?
See picture.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hello Alexey,
I am afraid there is no built-in capability for this in our framework. We have a corresponding request in this regard: Formatting - Provide a single place to globally specify default DisplayFormat and EditMask for different data types.
In the meantime, you can accomplish this task by extending the application model with your own elements that will hold the default formatting and then propagating these default values to dependent elements: http://documentation.devexpress.com/#Xaf/CustomDocument3169

    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.