[]
Base element rendering its content with Direct2D and DirectWrite.
public abstract class DxHost : HwndHost, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable, IWin32Window, IKeyboardInputSink, ITouchDestination
| Name | Description |
|---|---|
| DxHost() | Initializes a new instance of DxHost control. |
| Name | Description |
|---|---|
| BackgroundColorProperty | Identifies the BackgroundColor dependency property. |
| ToolTipTextProperty | Identifies the ToolTipText dependency property. |
| Name | Description |
|---|---|
| BackgroundColor | Gets or sets the background color for DxHost. |
| ToolTipText | Gets the tooltip text for DxHost. |
| WindowClassName | Gets the name of the window class. |
| Name | Description |
|---|---|
| BuildWindowCore(HandleRef) | Creates the window to be hosted. |
| CreateDeviceIndependentResources() | Creates class factories and other device-independent resources. |
| CreateDeviceResources() | Creates the GPU-dependent resources, such as SwapChain and DeviceContext. |
| DestroyWindowCore(HandleRef) | Destroys the hosted window. |
| DiscardDeviceIndependentResources() | Discards class factories and other device-independent resources. |
| DiscardDeviceResources() | Discards all GPU-dependent resources. |
| Dispose(bool) | |
| FocusFirstElement(bool) | Moves focus to the first or the last element of the control in tab order. |
| FocusNextElement(bool) | Moves focus to the next or the previous element of the control in tab order. |
| OnDoWork() | Does some job in the background thread. |
| OnKeyDown(KeyEventArgs) | Processes WM_KEYDOWN message. |
| OnKeyUp(KeyEventArgs) | Processes WM_KEYUP message. |
| OnRunWorkerCompleted() | Executes when the background thread is about to finish. |
| OnVisualParentChanged(DependencyObject) | Invoked when the Parent of this element is changed. |
| TabIntoCore(TraversalRequest) | Sets focus on either the first tab stop or the last tab stop of the sink. |
| TranslateAcceleratorCore(ref MSG, ModifierKeys) | Processes keyboard input at the keydown message level. |
| TranslateCharCore(ref MSG, ModifierKeys) | Processes WM_CHAR input message. |
| WndProc(IntPtr, int, IntPtr, IntPtr, ref bool) |