Images

From truxwiki.com
Jump to navigation Jump to search

This page will serve as notes to how Images are displayed in the app. Images can include pictures found on Media, or pictures of Suspects, Investigations, or Media (primary photos).

UI Guide Menu

  1. Entry Point
  2. Navigation and Routing
  3. Databinding
  4. Dependency Injection
  5. Task Bar Icon
  6. Truxton CLI options
  7. How Reports are Displayed
  8. How Dialog Forms Work
  9. Forms with Images
  10. Images
  11. Bookmarks

Summary

Main Code Summary Path
ImageFactory.cs Takes a ImageModel and creates a ImageViewModel \Truxton\Client\TruxtonClient\TruxtonClient\ViewModels\Findables\Factories\ImageFactory.cs
ImageInitializer.cs Takes one or more ImageViewModels and uses the ImageService to add the URIs \Truxton\Client\TruxtonClient\TruxtonClient\PresentationCore\ViewModelMapper\ViewModelInitializers\ImageInitializer.cs
FileContent.cs When a Media artifact or associated file is opened, this class initializes the Image and File needed to display it to the UI \Truxton\Client\TruxtonClient\TruxtonClient\ViewModels\FacetViews\File\FileContent.cs
ImageService.cs Maps the Image database table to a ImageModel in the code \Truxton\Client\Libraries\TruxtonClient.Services\ImageService.cs
ImageContent.xaml The xaml used when viewing an Image that is a Media-File. It's loaded into FileContentViewer.xaml \Truxton\Client\TruxtonClient\TruxtonClient\Themes\Content\ImageContent.xaml

Running a Development Build