This example illustrates how to implement a file preview. The main idea is to define the onValueChanged handler which provides selected files as an array of File objects. So, it's possible to use File API to read information about selected file(s).
Files to look at:
(you will be redirected to DevExpress.com to submit your response)