本文整理汇总了C#中Ext.Net.Element类的典型用法代码示例。如果您正苦于以下问题:C# Element类的具体用法?C# Element怎么用?C# Element使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Element类属于Ext.Net命名空间,在下文中一共展示了Element类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: AnchorTo
public virtual Element AnchorTo(Element element, string position, int[] offsets, ElementFxConfig animate, bool monitorScroll, JFunction callback)
{
this.Call("anchorTo", new JRawValue(element.Descriptor), position, offsets, new JRawValue(new ClientConfig().Serialize(animate, true)), monitorScroll, callback);
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例2: ReplaceWith
public virtual Element ReplaceWith(Element element)
{
this.Call("replaceWith", new JRawValue(element.Descriptor));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例3: Mon
public virtual void Mon(Element el, string eventName, string fn, string scope, HandlerConfig options)
{
this.Call("mon", new JRawValue(el.Descriptor), eventName, fn, new JRawValue(scope), new JRawValue(options.Serialize()));
}
开发者ID:rajjan,项目名称:Ext.NET.Community,代码行数:4,代码来源:Observable.cs
示例4: HighlightEvent
/// <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)));
}
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:10,代码来源:AbstractCalendarView.cs
示例5: InsertFirst
public void InsertFirst(Element target, object data)
{
this.Call("insertFirst", new JRawValue(target.Descriptor), data);
}
开发者ID:pgodwin,项目名称:Ext.net,代码行数:4,代码来源:XTemplate.cs
示例6: Dom
public Dom(Element element)
{
this.element = element;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:4,代码来源:Dom.cs
示例7: Center
public virtual Element Center(Element centerIn)
{
this.Call("center", new JRawValue(centerIn.Descriptor));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例8: Add
public virtual Element Add(Element[] elements)
{
this.EnsureChaining();
StringBuilder sb = new StringBuilder();
sb.Append("[");
foreach (Element element in elements)
{
sb.Append(element.Descriptor).Append(",");
}
sb.Remove(sb.Length-1,1).Append("]");
this.Call("add", new JRawValue(sb.ToString()));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:15,代码来源:Element.cs
示例9: AppendTo
public virtual Element AppendTo(Element element)
{
this.Call("appendTo", new JRawValue(element.Descriptor));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例10: ScrollIntoView
public virtual Element ScrollIntoView(Element container)
{
this.Call("scrollIntoView", new JRawValue(container.Descriptor));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例11: CreateChild
public virtual Element CreateChild(DomObject config, Element insertBefore)
{
this.Call("createChild", new JRawValue(config.Serialize()), new JRawValue(insertBefore.Descriptor + ".dom"));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例12: Up
public virtual Element Up(string selector, Element maxDepth)
{
this.EnsureChaining();
this.Call("up", selector, new JRawValue(maxDepth.Descriptor));
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:6,代码来源:Element.cs
示例13: CreateProxy
public virtual Element CreateProxy(DomObject config, Element renderTo, bool matchBox)
{
this.Call("createProxy", new JRawValue(config.Serialize()), new JRawValue(renderTo.Descriptor+".dom"), matchBox);
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例14: Append
public void Append(Element target, object data)
{
this.Call("append", new JRawValue(target.Descriptor), data);
}
开发者ID:pgodwin,项目名称:Ext.net,代码行数:4,代码来源:XTemplate.cs
示例15: Overwrite
public void Overwrite(Element target, object data)
{
this.Call("overwrite", new JRawValue(target.Descriptor), data);
}
开发者ID:pgodwin,项目名称:Ext.net,代码行数:4,代码来源:XTemplate.cs
示例16: FindParentNode
public virtual Element FindParentNode(string selector, Element maxDepth)
{
this.EnsureChaining();
this.Call("findParentNode", selector, new JRawValue(maxDepth.Descriptor + ".dom"), true);
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:6,代码来源:Element.cs
示例17: InsertSibling
public virtual Element InsertSibling(Element element, InsertPosition where)
{
this.Call("insertSibling", new JRawValue(element.Descriptor), where.ToString().ToLowerCamelCase());
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
示例18: Mun
public virtual void Mun(Element el, string eventName, string fn, string scope)
{
this.Call("mun", new JRawValue(el.Descriptor), eventName, new JRawValue(fn), new JRawValue(scope));
}
开发者ID:rajjan,项目名称:Ext.NET.Community,代码行数:4,代码来源:Observable.cs
示例19: InitElement
/// <summary>
/// Init element of tracker
/// </summary>
/// <param name="el">Element</param>
public void InitElement(Element el)
{
this.Call("initEl", new JRawValue(el.Descriptor));
}
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:8,代码来源:DragTracker.cs
示例20: AlignTo
public virtual Element AlignTo(Element element, string position, int[] offsets)
{
this.Call("alignTo", new JRawValue(element.Descriptor), position, offsets);
return this;
}
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:5,代码来源:Element.cs
注:本文中的Ext.Net.Element类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论