Language
Edit

WindowsXamlHostBase.SetContent Method

Definition

The default implementation of SetContent applies ChildInternal to desktopWindowXamSource.Content. Override this method if that shouldn't be the case. For example, override if your control should be a child of another WindowsXamlHostBase-based control.

protected virtual void SetContent();
abstract member SetContent : unit -> unit
override this.SetContent : unit -> unit
Protected Overridable Sub SetContent ()

Applies to