示例#1
0
        /// <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();
        }
示例#2
0
        /// <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();
        }