C# Class ICSharpCode.XamlDesigner.MainWindow

Show file Open project: icsharpcode/WpfDesigner Class Usage Examples

Public Properties

Property Type Description
CloseAllCommand ICSharpCode.XamlDesigner.SimpleCommand
ExitCommand ICSharpCode.XamlDesigner.SimpleCommand
Instance MainWindow
RefreshCommand ICSharpCode.XamlDesigner.SimpleCommand
RenderToBitmapCommand ICSharpCode.XamlDesigner.SimpleCommand
RunCommand ICSharpCode.XamlDesigner.SimpleCommand
SaveAllCommand ICSharpCode.XamlDesigner.SimpleCommand

Public Methods

Method Description
AskOpenFileName ( ) : string
AskSaveFileName ( string initName ) : string
MainWindow ( ) : System

Protected Methods

Method Description
OnClosing ( CancelEventArgs e ) : void
OnDragEnter ( System.Windows.DragEventArgs e ) : void
OnDragOver ( System.Windows.DragEventArgs e ) : void
OnDrop ( System.Windows.DragEventArgs e ) : void

Private Methods

Method Description
AvalonDockWorkaround ( ) : void
CloseAllCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CloseCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CloseCommand_PreviewExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CreateContentFor ( Document doc ) : DocumentContent
CurrentDocument_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ExitCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
LoadSettings ( ) : void
NewCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OpenCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ProcessDrag ( System.Windows.DragEventArgs e ) : void
ProcessPaths ( IEnumerable paths ) : void
RecentFiles_Click ( object sender, RoutedEventArgs e ) : void
RenameCommands ( ) : void
RenderToBitmapCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
RestoreDocumentPaneBinding ( ) : void
RouteDesignSurfaceCommand ( System.Windows.Input.RoutedCommand command ) : void
RouteDesignSurfaceCommands ( ) : void
RunCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveAllCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveAsCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveSettings ( ) : void

Method Details

AskOpenFileName() public method

public AskOpenFileName ( ) : string
return string

AskSaveFileName() public method

public AskSaveFileName ( string initName ) : string
initName string
return string

MainWindow() public method

public MainWindow ( ) : System
return System

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnDragEnter() protected method

protected OnDragEnter ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
return void

OnDragOver() protected method

protected OnDragOver ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
return void

OnDrop() protected method

protected OnDrop ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
return void

Property Details

CloseAllCommand public static property

public static SimpleCommand,ICSharpCode.XamlDesigner CloseAllCommand
return ICSharpCode.XamlDesigner.SimpleCommand

ExitCommand public static property

public static SimpleCommand,ICSharpCode.XamlDesigner ExitCommand
return ICSharpCode.XamlDesigner.SimpleCommand

Instance public static property

public static MainWindow,ICSharpCode.XamlDesigner Instance
return MainWindow

RefreshCommand public static property

public static SimpleCommand,ICSharpCode.XamlDesigner RefreshCommand
return ICSharpCode.XamlDesigner.SimpleCommand

RenderToBitmapCommand public static property

public static SimpleCommand,ICSharpCode.XamlDesigner RenderToBitmapCommand
return ICSharpCode.XamlDesigner.SimpleCommand

RunCommand public static property

public static SimpleCommand,ICSharpCode.XamlDesigner RunCommand
return ICSharpCode.XamlDesigner.SimpleCommand

SaveAllCommand public static property

public static SimpleCommand,ICSharpCode.XamlDesigner SaveAllCommand
return ICSharpCode.XamlDesigner.SimpleCommand