UpdateStatePalettes() 공개 메소드

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
리턴 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();
        }
        /// <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();
        }