C# Class CK.WindowManager.WindowElementBinder

Inheritance: IWindowBinder, IPlugin
ファイルを表示 Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Property Type Description
CanBind bool
GetOppositePosition BindingPosition
OnRegistered void
WindowManager_Unregistered void

Public Methods

Method Description
Bind ( IWindowElement master, IWindowElement slave, BindingPosition position, bool saveBinding = false ) : void
GetBinding ( IWindowElement referential ) : ISpatialBinding
PreviewBind ( IWindowElement target, IWindowElement origin, BindingPosition position ) : IBindResult
PreviewUnbind ( IWindowElement target, IWindowElement origin ) : IBindResult
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void
Unbind ( IWindowElement me, IWindowElement other, bool saveBinding = true ) : void
WindowElementBinder ( ) : System

Private Methods

Method Description
CanBind ( IWindowElement target, IWindowElement origin, BindingPosition position, SpatialBinding &targetSpatialBinding, SpatialBinding &originSpatialBinding ) : bool
GetOppositePosition ( BindingPosition position ) : BindingPosition
OnRegistered ( object sender, WindowElementEventArgs e ) : void
WindowManager_Unregistered ( object sender, WindowElementEventArgs e ) : void

Method Details

Bind() public method

public Bind ( IWindowElement master, IWindowElement slave, BindingPosition position, bool saveBinding = false ) : void
master IWindowElement
slave IWindowElement
position BindingPosition
saveBinding bool
return void

GetBinding() public method

public GetBinding ( IWindowElement referential ) : ISpatialBinding
referential IWindowElement
return ISpatialBinding

PreviewBind() public method

public PreviewBind ( IWindowElement target, IWindowElement origin, BindingPosition position ) : IBindResult
target IWindowElement
origin IWindowElement
position BindingPosition
return IBindResult

PreviewUnbind() public method

public PreviewUnbind ( IWindowElement target, IWindowElement origin ) : IBindResult
target IWindowElement
origin IWindowElement
return IBindResult

Setup() public method

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Teardown() public method

public Teardown ( ) : void
return void

Unbind() public method

public Unbind ( IWindowElement me, IWindowElement other, bool saveBinding = true ) : void
me IWindowElement
other IWindowElement
saveBinding bool
return void

WindowElementBinder() public method

public WindowElementBinder ( ) : System
return System