UpdateStatePalettes() public method

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
return void
コード例 #1
0
        /// <summary>
        /// Ensure the correct state palettes are being used.
        /// </summary>
        public override void UpdateStatePalettes()
        {
            // Update palettes for the header group
            _headerGroup?.UpdateStatePalettes();

            // Let base class do standard work
            base.UpdateStatePalettes();
        }
コード例 #2
0
        /// <summary>
        /// Ensure the correct state palettes are being used.
        /// </summary>
        public override void UpdateStatePalettes()
        {
            // Ask the header group to update its palettes
            _headerGroup.UpdateStatePalettes();

            // Let base class do standard work
            base.UpdateStatePalettes();
        }
        /// <summary>
        /// Ensure the correct state palettes are being used.
        /// </summary>
        public override void UpdateStatePalettes()
        {
            // Update palettes for the header group
            if (_headerGroup != null)
            {
                _headerGroup.UpdateStatePalettes();
            }

            // Let base class do standard work
            base.UpdateStatePalettes();
        }