ICSSKeyframesRule.FindRule method

The findRule method returns the rule with a key matching the passed key. If no such rule exists, a null value is returned

public ICSSKeyframeRule FindRule(string key)
Parameter Type Description
key String The key which described the rule to find. The key must resolve to a number between 0 and 1, or the rule is ignored.

Return Value

Returns the last declared CSSKeyframeRule matching the specified keyframe selector. If no matching rule exists, the method does nothing.

See Also