# PreviewHost **Repository Path**: afunc233/PreviewHost ## Basic Information - **Project Name**: PreviewHost - **Description**: An example `IPreviewHandlerFrame` implementation using WPF. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PreviewHost An example [`IPreviewHandlerFrame`](https://docs.microsoft.com/en-us/windows/desktop/api/shobjidl_core/nn-shobjidl_core-ipreviewhandlerframe) implementation using WPF (Windows Presentation Foundation). This project aims to be a correct-to-every-detail implementation of `IPreviewHandlerFrame` in managed code. Encoding and line terminator choice are kept the default for files created and edited with Visual Studio (2017 Community). Other text files use UTF-8 (without BOM) and LF. Steps: 1. [Create the UI](https://geelaw.blog/entries/ipreviewhandlerframe-wpf-1-ui-assoc/#create-ui) 2. [COM interop for file associations](https://geelaw.blog/entries/ipreviewhandlerframe-wpf-1-ui-assoc/#com-assoc) 3. [Finish COM interop](https://geelaw.blog/entries/ipreviewhandlerframe-wpf-2-interop/)