/// <summary> /// Updates the current application bar buttons in accordance with the <paramref name="mode"/> specified, if needed. /// </summary> /// <param name="mode">New application bar mode.</param> private void SetAppBarMode(AppBarMode mode) { if (this.appBarMode == mode) { return; } this.appBarMode = mode; this.RefreshAppBar(); }