Esempio n. 1
0
        /// <summary>
        /// Deletes a keyframe rule from the current CSSKeyframesRule.
        /// </summary>
        /// <param name="key">The index of the keyframe to be deleted, expressed as a string resolving as a number between 0 and 1.</param>
        public void Remove(String key)
        {
            var element = Find(key);

            if (element == null)
            {
                return;
            }

            for (int i = 0; i < _rules.Length; i++)
            {
                if (element == _rules[i])
                {
                    _rules.RemoveAt(i);
                    break;
                }
            }
        }
Esempio n. 2
0
 public void RemoveAt(Int32 index)
 {
     _rules.RemoveAt(index);
 }