Implements WindowTitleBehavior.