ShellAddressBarOnParentChanged Method |
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.3
Syntaxprotected override void OnParentChanged(
EventArgs e
)
Protected Overrides Sub OnParentChanged (
e As EventArgs
)
protected:
virtual void OnParentChanged(
EventArgs^ e
) override
abstract OnParentChanged :
e : EventArgs -> unit
override OnParentChanged :
e : EventArgs -> unit Parameters
- e EventArgs
- An EventArgs that contains the event data.
Remarks
SBNET-1897: The dark-mode appearance of the address bar and all of its subcomponents is derived
from the effective
BackColor via
BackColor.IsDark(). To make the address bar
follow its host (e.g. an
ExplorerBrowser whose native content cannot be themed dark)
instead of the system theme, we adopt the parent's
BackColor whenever the
parent changes and keep tracking the parent's
BackColorChanged event.
See Also