I have a borderless window with resize mode set to canMinimize
WindowStyle="None"
ResizeMode="CanMinimize"
When I change my window state to minimized on some button click and restore from taskbar icon then window's activated event is fired.
But when I minimize window from taskbar icon and restore from taskbar icon click then my window does not fire activated event.