C# Class WpfDocumentPreviewer.PreviewerControl

Interaction logic for PreviewerControl.xaml
Inheritance: System.Windows.Controls.UserControl, INotifyPropertyChanged
显示文件 Open project: Gainedge/BetterExplorer

Public Methods

Method Description
PreviewerControl ( ) : System
PreviewerControl_Unloaded ( object sender, RoutedEventArgs e ) : void
RaisePropertyChanged ( string propertyName ) : void
activeX_FileDownload ( bool ActiveDocument, bool &Cancel ) : void

Private Methods

Method Description
IconFromFileName ( string fileName ) : System.Windows.Media.Imaging.BitmapSource
SetFileName ( string fileName ) : void
wb1_LoadCompleted ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void

Method Details

PreviewerControl() public method

public PreviewerControl ( ) : System
return System

PreviewerControl_Unloaded() public method

public PreviewerControl_Unloaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

RaisePropertyChanged() public method

public RaisePropertyChanged ( string propertyName ) : void
propertyName string
return void

activeX_FileDownload() public method

public activeX_FileDownload ( bool ActiveDocument, bool &Cancel ) : void
ActiveDocument bool
Cancel bool
return void