• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# Net.Observable类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Ext.Net.Observable的典型用法代码示例。如果您正苦于以下问题:C# Observable类的具体用法?C# Observable怎么用?C# Observable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Observable类属于Ext.Net命名空间,在下文中一共展示了Observable类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Launch_AfterItemAdd

 void Launch_AfterItemAdd(Observable item)
 {
     if (!this.Controls.Contains(item))
     {
         this.Controls.Add(item);
     }
 }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:7,代码来源:Application.cs


示例2: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if (this.ViewState["LazyMode"] == null)
     {
         this.LazyMode = LazyMode.Config;
     }
 }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:7,代码来源:TreeEditor.cs


示例3: Launch_AfterItemRemove

 void Launch_AfterItemRemove(Observable item)
 {
     if (this.Controls.Contains(item))
     {
         this.Controls.Remove(item);
     }
 }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:7,代码来源:Application.cs


示例4: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if (this.AutoPostBack)
     {
         this.On("change", new JFunction(this.PostBackFunction));
     }
 }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:7,代码来源:NumberFieldBase.cs


示例5: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            if (this.SyncUrl.IsNotEmpty())
            {
                if (this.Proxy.Count > 0 && this.Proxy.Primary is ServerProxy)
                {
                    ((ServerProxy)this.Proxy.Primary).API.Sync = this.SyncUrl;
                }
                else if (this.ModelInstance != null && this.ModelInstance.Proxy.Count > 0 && this.ModelInstance.Proxy.Primary is ServerProxy)
                {
                    ((ServerProxy)this.ModelInstance.Proxy.Primary).API.Sync = this.SyncUrl;
                }
                else if (this.ServerProxy.Count > 0)
                {
                    if (this.ServerProxy.Primary is ServerProxy)
                    {
                        ((ServerProxy)this.ServerProxy.Primary).API.Sync = this.SyncUrl;
                    }
                }
                else
                {
                    this.ServerProxy.Add(new AjaxProxy
                    {
                        API =
                        {
                            Sync = this.SyncUrl
                        }
                    });
                }

            }

            base.OnBeforeClientInit(sender);
        }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:34,代码来源:AbstractStore.cs


示例6: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if(this.Remote)
     {
         this.ForceIdRendering = true;
     }
     base.OnBeforeClientInit(sender);
 }
开发者ID:hpj1106,项目名称:Ext.NET.Community,代码行数:8,代码来源:ToolbarDroppable.cs


示例7: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            this.RegisterStatusIcon(this.DefaultIcon);
            this.RegisterStatusIcon(this.BusyIcon);
            this.RegisterStatusIcon(this.Icon);
        }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:8,代码来源:StatusBar.cs


示例8: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if (this.Mode == LoadMode.Frame && this.AjaxOptions != null)
     {
      //   throw new Exception("Frame mode doesn't support AjaxOptions");
     }
     base.OnBeforeClientInit(sender);
 }
开发者ID:rajjan,项目名称:Ext.NET.Community,代码行数:8,代码来源:ComponentLoader.cs


示例9: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.CalendarStoreID.IsEmpty() && this.CalendarPanel != null)
            {
                this.CalendarStoreID = this.CalendarPanel.CalendarStoreID;
            }
        }
开发者ID:shalves,项目名称:Ext.NET.Community,代码行数:13,代码来源:EventDetailsBase.cs


示例10: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.Target.IsEmpty())
            {
                throw new Exception("You must define Target for ClickRepeater");
            }
        }
开发者ID:shalves,项目名称:Ext.NET.Community,代码行数:9,代码来源:ClickRepeater.cs


示例11: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (!X.IsAjaxRequest)
            {
                this.RegisterCalculations();
            }
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:9,代码来源:GroupingSummary.cs


示例12: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            if(!this.OverOnly && this.Component.Count > 0)
            {
                this.Component[0].IDMode = Ext.Net.IDMode.Ignore;
            }

            base.OnBeforeClientInit(sender);
        }
开发者ID:hpj1106,项目名称:Ext.NET.Community,代码行数:13,代码来源:ComponentColumn.cs


示例13: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     base.OnBeforeClientInit(sender);
     
     if (this.OnClientClick.IsNotEmpty())
     {
         this.Handler = new JFunction(TokenUtils.ParseTokens(this.OnClientClick, this), "item", "e").ToScript();
     }
 }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:9,代码来源:ButtonBase.cs


示例14: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.StandardFields)
            {
                this.AddStandardFields();
            }
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:13,代码来源:GroupStore.cs


示例15: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.AutoPostBack)
            {
                this.CustomConfig.Add(new ConfigItem("tabPostback", JSON.Serialize(new JFunction(this.PostBackFunction)), ParameterMode.Raw));
            }
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:9,代码来源:TabPanel.cs


示例16: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            if (this.Component.Count > 0 && this.SingleExpand.HasValue && !this.SingleExpand.Value)
            {
                this.Component[0].IDMode = Ext.Net.IDMode.Ignore;
            }

            base.OnBeforeClientInit(sender);
        }
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:9,代码来源:RowExpander.cs


示例17: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (!this.DesignMode && !this.AutoRender && this.ClientForm.IsNotEmpty() && (!Ext.Net.X.IsAjaxRequest || this.IsDynamic))
            {
                this.DefaultRenderTo = Ext.Net.DefaultRenderTo.Form;
            }
        }
开发者ID:shalves,项目名称:Ext.NET.Community,代码行数:9,代码来源:AbstractWindow.cs


示例18: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.Editor.Primary != null && !this.IsRowEditing)
            {
                throw new Exception("CheckColumn doesn't support Editor as cell editor. Please use Editable property");
            }
        }
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:9,代码来源:CheckColumn.cs


示例19: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.Locked.HasValue && this.Locked.Value && this.Flex > 0)
            {
                throw new Exception("Columns which are locked do NOT support a flex width. You must set a width on the '" + this.Text + "' column.");
            }
        }
开发者ID:hh22333,项目名称:Ext.NET.Community,代码行数:13,代码来源:ColumnBase.cs


示例20: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.Reader.Primary != null && this.IsProxyDefined)
            {
                throw new Exception(ServiceMessages.DEFINE_READER_FOR_PROXY);
            }

            if (this.Writer.Primary != null && this.IsProxyDefined)
            {
                throw new Exception(ServiceMessages.DEFINE_WRITER_FOR_PROXY);
            }
        }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:18,代码来源:Store.cs



注:本文中的Ext.Net.Observable类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Net.StoreRefreshDataEventArgs类代码示例发布时间:2022-05-24
下一篇:
C# Net.JFunction类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap