/// <summary>
 /// Visually highlights an event using Ext.Fx.highlight config options. If highlightEventActions is false this method will have no effect.
 /// </summary>
 /// <param name="el">The element(s) to highlight</param>
 /// <param name="color">(optional) The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c')</param>
 /// <param name="o">(optional) Object literal with any of the Ext.Fx config options. See Ext.Fx.highlight for usage examples.</param>
 public void HighlightEvent(Element el, string color, HighlightConfig o)
 {
     this.Call("highlightEvent", new JRawValue(el.Descriptor), color, new JRawValue(new ClientConfig().Serialize(o)));
 }
Пример #2
0
 /// <summary>
 /// Visually highlights an event using Ext.Fx.highlight config options. If highlightEventActions is false this method will have no effect.
 /// </summary>
 /// <param name="el">The element(s) to highlight</param>
 /// <param name="color">(optional) The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c')</param>
 /// <param name="o">(optional) Object literal with any of the Ext.Fx config options. See Ext.Fx.highlight for usage examples.</param>
 public void HighlightEvent(Element el, string color, HighlightConfig o)
 {
     this.Call("highlightEvent", new JRawValue(el.Descriptor), color, new JRawValue(new ClientConfig().Serialize(o)));
 }
Пример #3
0
 public virtual Element Highlight(string color, HighlightConfig config)
 {
     this.Call("highlight", color, new JRawValue(config.Serialize()));
     return this;
 }