C# Class AdvancedLauncher.Tools.Extensions.HwndHostExtensions

Mostra file Open project: GoldRenard/DMOAdvancedLauncher

Public Properties

Property Type Description
CopyBitsBehaviorProperty System.Windows.DependencyProperty
RaiseMouseActivateCommandProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetCopyBitsBehavior ( this @this ) : CopyBitsBehavior

Attached property getter for the CopyBitsBehavior property.

GetRaiseMouseActivateCommand ( this @this ) : bool

Attached property getter for the RaiseMouseActivateCommand property.

SetCopyBitsBehavior ( this @this, CopyBitsBehavior value ) : void

Attached property setter for the CopyBitsBehavior property.

SetRaiseMouseActivateCommand ( this @this, bool value ) : void

Attached property setter for the RaiseMouseActivateCommand property.

Private Methods

Method Description
AddWndProcUsage ( System.Windows.Interop.HwndHost hwndHost ) : void
OnCopyBitsBehaviorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRaiseMouseActivateCommandChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RemoveWndProcUsage ( System.Windows.Interop.HwndHost hwndHost ) : void
TryHookWndProc ( System.Windows.Interop.HwndHost hwndHost ) : bool

Method Details

GetCopyBitsBehavior() public static method

Attached property getter for the CopyBitsBehavior property.
public static GetCopyBitsBehavior ( this @this ) : CopyBitsBehavior
@this this
return CopyBitsBehavior

GetRaiseMouseActivateCommand() public static method

Attached property getter for the RaiseMouseActivateCommand property.
public static GetRaiseMouseActivateCommand ( this @this ) : bool
@this this
return bool

SetCopyBitsBehavior() public static method

Attached property setter for the CopyBitsBehavior property.
public static SetCopyBitsBehavior ( this @this, CopyBitsBehavior value ) : void
@this this
value CopyBitsBehavior
return void

SetRaiseMouseActivateCommand() public static method

Attached property setter for the RaiseMouseActivateCommand property.
public static SetRaiseMouseActivateCommand ( this @this, bool value ) : void
@this this
value bool
return void

Property Details

CopyBitsBehaviorProperty public_oe static_oe property

Attached property for HwndHost instances that specifies the behavior for handling the SWP_NOCOPYBITS flag during moving or sizing operations.
public static DependencyProperty,System.Windows CopyBitsBehaviorProperty
return System.Windows.DependencyProperty

RaiseMouseActivateCommandProperty public_oe static_oe property

Attached property for HwndHost instances that specifies whether or not a HwndHostCommands.MouseActivate command is raised in response to WM_MOUSEACTIVATE.
public static DependencyProperty,System.Windows RaiseMouseActivateCommandProperty
return System.Windows.DependencyProperty