C# Class Core2D.Wpf.Views.EditorControl

Interaction logic for EditorControl xaml.
Inheritance: System.Windows.Controls.UserControl
Mostra file Open project: Core2D/Core2D

Public Methods

Method Description
AttachEditor ( ) : void

Attach project editor to container control.

AutoLoadLayout ( ) : void

Auto load docking manager layout.

AutoSaveLayout ( ) : void

Auto save docking manager layout.

DetachEditor ( ) : void

Detach project editor from container control.

EditorControl ( ) : System

Initializes a new instance of the EditorControl class.

OnLoadLayout ( ) : void

Load editor layout.

OnResetLayout ( ) : void

Reset editor layout.

OnSaveLayout ( ) : void

Save editor layout.

Private Methods

Method Description
InvalidateChild ( double zoomX, double zoomY, double offsetX, double offsetY ) : void
LoadLayout ( string path ) : void

Load docking manager layout.

LoadLayoutFromResource ( string path ) : void

Load docking manager layout from resource.

OnLoaded ( ) : void

Initialize editor after loaded.

OnUnloaded ( ) : void

De-initialize editor after unloaded.

SaveLayout ( string path ) : void

Save docking manager layout.

ZoomBorder_DragEnter ( object sender, System.Windows.DragEventArgs e ) : void
ZoomBorder_Drop ( object sender, System.Windows.DragEventArgs e ) : void

Method Details

AttachEditor() public method

Attach project editor to container control.
public AttachEditor ( ) : void
return void

AutoLoadLayout() public method

Auto load docking manager layout.
public AutoLoadLayout ( ) : void
return void

AutoSaveLayout() public method

Auto save docking manager layout.
public AutoSaveLayout ( ) : void
return void

DetachEditor() public method

Detach project editor from container control.
public DetachEditor ( ) : void
return void

EditorControl() public method

Initializes a new instance of the EditorControl class.
public EditorControl ( ) : System
return System

OnLoadLayout() public method

Load editor layout.
public OnLoadLayout ( ) : void
return void

OnResetLayout() public method

Reset editor layout.
public OnResetLayout ( ) : void
return void

OnSaveLayout() public method

Save editor layout.
public OnSaveLayout ( ) : void
return void