Skip to content

Displays custom Property Editors for WinForms and Blazor platforms that render object fields containing an email address or URL as clickable text in the UI

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/xaf-how-to-show-a-hyper-link-url-email-etc-for-a-business-class-property

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF - How to show a hyper link (URL, email, etc.) for a business class property

This example shows custom Property Editors that provide access to object fields with an email address or URL as clickable text.

To validate a URL, these editors use a combined RexEx mask. The default regular expression is:

(((http|https|ftp)\://)?[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*)|([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})

You can use it as is or modify it per your specific needs. Search for Regular Expression in MSDN for more information on how to do this. A double click opens a URL in DetailView of the WinForms project for end-user convenience.

These editors are created for learning purposes only. You can extend them or create your own editors to meet your business needs.

image

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Displays custom Property Editors for WinForms and Blazor platforms that render object fields containing an email address or URL as clickable text in the UI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published