HwndSource Methods

 

Namespace:   System.Windows.Interop
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodAddHook(HwndSourceHook)

Adds an event handler that receives all window messages.

System_CAPS_protmethodAddSource()

Adds a PresentationSource derived class instance to the list of known presentation sources.(Inherited from PresentationSource.)

System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_protmethodClearContentRenderedListeners()

Sets the list of listeners for the ContentRendered event to null. (Inherited from PresentationSource.)

System_CAPS_pubmethodCreateHandleRef()

Gets the window handle for the HwndSource. The window handle is packaged as part of a HandleRef structure.

System_CAPS_pubmethodDispose()

Releases all managed resources that are used by the HwndSource, and raises the Disposed event.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromHwnd(IntPtr)

Returns the HwndSource object of the specified window.

System_CAPS_protmethodGetCompositionTargetCore()

Gets the visual target of the window. (Overrides PresentationSource.GetCompositionTargetCore().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodHasFocusWithinCore()

Gets a value that indicates whether the sink or one of its contained components has focus.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnDpiChanged(HwndDpiChangedEventArgs)

Called when the DPI is going to change for the window.

System_CAPS_protmethodOnMnemonicCore(MSG, ModifierKeys)

Called when one of the mnemonics (access keys) for this sink is invoked.

System_CAPS_protmethodRegisterKeyboardInputSinkCore(IKeyboardInputSink)

Registers the IKeyboardInputSink interface of a contained component.

System_CAPS_pubmethodRemoveHook(HwndSourceHook)

Removes the event handlers that were added by AddHook.

System_CAPS_protmethodRemoveSource()

Removes a PresentationSource derived class instance from the list of known presentation sources.(Inherited from PresentationSource.)

System_CAPS_protmethodRootChanged(Visual, Visual)

Provides notification that the root Visual has changed. (Inherited from PresentationSource.)

System_CAPS_protmethodTabIntoCore(TraversalRequest)

Sets focus on either the first tab stop or the last tab stop of the sink.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodTranslateAcceleratorCore(MSG, ModifierKeys)

Processes keyboard input at the key-down message level.

System_CAPS_protmethodTranslateCharCore(MSG, ModifierKeys)

Processes WM_CHAR, WM_SYSCHAR, WM_DEADCHAR, and WM_SYSDEADCHAR input messages before the OnMnemonic method is called.

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

Return to top
Show: