Export (0) Print
Expand All

HwndSource Methods

The HwndSource type exposes the following members.

  NameDescription
Public method AddHook Adds an event handler that receives all window messages.
Protected method AddSource Adds a PresentationSource derived class instance to the list of known presentation sources. (Inherited from PresentationSource.)
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Protected method ClearContentRenderedListeners Sets the list of listeners for the ContentRendered event to null. (Inherited from PresentationSource.)
Public method CreateHandleRef Gets the window handle for the HwndSource. The window handle is packaged as part of a HandleRef structure.
Public method Dispose Releases all managed resources that are used by the HwndSource, and raises the Disposed event.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromHwnd Returns the HwndSource object of the specified window.
Protected method GetCompositionTargetCore Gets the visual target of the window. (Overrides PresentationSource.GetCompositionTargetCore().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HasFocusWithinCore Gets a value that indicates whether the sink or one of its contained components has focus.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnMnemonicCore Called when one of the mnemonics (access keys) for this sink is invoked.
Protected method RegisterKeyboardInputSinkCore Registers the IKeyboardInputSink interface of a contained component.
Public method RemoveHook Removes the event handlers that were added by AddHook.
Protected method RemoveSource Removes a PresentationSource derived class instance from the list of known presentation sources. (Inherited from PresentationSource.)
Protected method RootChanged Provides notification that the root Visual has changed. (Inherited from PresentationSource.)
Protected method TabIntoCore Sets focus on either the first tab stop or the last tab stop of the sink.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TranslateAcceleratorCore Processes keyboard input at the key-down message level.
Protected method TranslateCharCore Processes WM_CHAR, WM_SYSCHAR, WM_DEADCHAR, and WM_SYSDEADCHAR input messages before the OnMnemonic method is called.
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top

  NameDescription
Explicit interface implemetation Private method IKeyboardInputSink.HasFocusWithin For a description of this member, see IList.Remove.
Explicit interface implemetation Private method IKeyboardInputSink.OnMnemonic For a description of this member, see OnMnemonic.
Explicit interface implemetation Private method IKeyboardInputSink.RegisterKeyboardInputSink For a description of this member, see RegisterKeyboardInputSink.
Explicit interface implemetation Private method IKeyboardInputSink.TabInto For a description of this member, see TabInto.
Explicit interface implemetation Private method IKeyboardInputSink.TranslateAccelerator For a description of this member, see TranslateAccelerator.
Explicit interface implemetation Private method IKeyboardInputSink.TranslateChar For a description of this member, see TranslateChar.
Top

Community Additions

ADD
Show:
© 2014 Microsoft