C# Class CK.WindowManager.WindowElementBinder

Inheritance: IWindowBinder, IPlugin
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Свойство Type Description
CanBind bool
GetOppositePosition BindingPosition
OnRegistered void
WindowManager_Unregistered void

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetBinding() public méthode

public GetBinding ( IWindowElement referential ) : ISpatialBinding
referential IWindowElement
Résultat ISpatialBinding

PreviewBind() public méthode

public PreviewBind ( IWindowElement target, IWindowElement origin, BindingPosition position ) : IBindResult
target IWindowElement
origin IWindowElement
position BindingPosition
Résultat IBindResult

PreviewUnbind() public méthode

public PreviewUnbind ( IWindowElement target, IWindowElement origin ) : IBindResult
target IWindowElement
origin IWindowElement
Résultat IBindResult

Setup() public méthode

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Teardown() public méthode

public Teardown ( ) : void
Résultat void

Unbind() public méthode

public Unbind ( IWindowElement me, IWindowElement other, bool saveBinding = true ) : void
me IWindowElement
other IWindowElement
saveBinding bool
Résultat void

WindowElementBinder() public méthode

public WindowElementBinder ( ) : System
Résultat System