protected override void ReplaceWith(ICssRule rule) { var newRule = (CssKeyframeRule)rule; _selector = newRule._selector; _style.Clear(); _style.SetDeclarations(newRule._style.Declarations); }
protected override void ReplaceWith(ICssRule rule) { var newRule = (ICssKeyframeRule)rule; _style.SetDeclarations(newRule.Style); _selector = newRule.Key; }
protected override void ReplaceWith(ICssRule rule) { var newRule = rule as CSSKeyframeRule; _selector = newRule._selector; _style.TakeFrom(newRule._style); }
public static IKeyframeSelector bindTo_IKeyframeSelector(IComponentIntrospect component) { global::System.IntPtr cPtr = solarPINVOKE.bindTo_IKeyframeSelector(IComponentIntrospect.getCPtr(component)); IKeyframeSelector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IKeyframeSelector(cPtr, true); if (solarPINVOKE.SWIGPendingException.Pending) { throw solarPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }