Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxFilePreviewSource Enum

Enumerates file preview sources.

#Declaration

Delphi
TdxFilePreviewSource = (
    PreviewHandler,
    Thumbnail,
    CustomHandler
);

#Members

Name Description
PreviewHandler

The preview pane can show the focused file’s content with an application registered in the operating system as the file’s preview handler.

Thumbnail

The preview pane can show the focused image file’s thumbnail.

CustomHandler

The preview pane can show the focused file’s content with a custom preview handler. Derive descendants from the TdxFilePreviewImageBasedHandler or TdxFilePreviewControlBasedHandler classes to create a custom preview handler.

#Remarks

The TdxFilePreviewSources type references the TdxFilePreviewSource type.

Note

TdxFilePreviewSource is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxFilePreviewSource.Thumbnail (in Delphi) or TdxFilePreviewSource::Thumbnail (in C++Builder) to refer to the Thumbnail value in code.

See Also