码迷,mamicode.com
首页 >  
搜索关键字:控件只读 readonly    ( 1522个结果
iOS:UIButton按钮的详解
UIButton的详细介绍:一、按钮具有的属性:@property(nonatomic,readonly)UIButtonType buttonType; //按钮形状类型@property(nonatomic,readonly,retain)NSString*currentTitle; //按钮当...
分类:移动开发   时间:2015-10-28 01:23:04    阅读次数:453
iOS:UIView视图与组件控件
一、UIView常见属性(1)@property(nonatomic,readonly)UIView *superview; //获取自己的父控件对象(2)@property(nonatomic,readonly,copy)UIView *subviews;//获取自己的所有子控件对象(3)@pro...
分类:移动开发   时间:2015-10-28 00:02:28    阅读次数:269
UITabelView 介绍
1、TableView 样式@property (nonatomic, readonly) UITableViewStylestyle;平铺模式:sectionHeader和sectionFooter会悬停,有sectionIndex,分隔线分组模式:heightForHeaderInSection...
分类:其他好文   时间:2015-10-24 16:59:09    阅读次数:120
UIView常见属性与方法
常见属性: @property(nonatomic,readonly) UIView *superview; 获得自己的父控件对象 @property(nonatomic,readonly,copy) NSArray *subviews; 获得自己的所有子控件对象 @property(no...
分类:其他好文   时间:2015-10-18 01:11:17    阅读次数:292
SQLHelper
public static class SqlHelper { private static readonly string conStr = ConfigurationManager.ConnectionStrings["mssqlserver"].ConnectionStri...
分类:数据库   时间:2015-10-17 10:38:17    阅读次数:268
input的disable和readonly
在设计网页时,有时需要将输入框设置为只读状态,即其中的内容不可编辑,实现这种设计的方法有两种:使用input的disable和readonly两个属性。 先来看下二者的区别: 可以看到,虽然两种都是让input的内容不能被用户编辑,但是对于后期的美工处理就有问题了! 例如:? 只有read...
分类:其他好文   时间:2015-10-15 18:41:26    阅读次数:158
注册依赖属性,提示默认值类型不匹配属性的解决办法
public static readonly DependencyProperty RichTextBoxWidthProperty;RichTextBoxWidthProperty = DependencyProperty.Register("RichTextBoxWidth", typeof(d...
分类:其他好文   时间:2015-10-14 12:17:26    阅读次数:868
关于Memcache使用的工具类
分布式缓存有它自己的好处 。 下面的 ConstValue.sessionId 是一个常量 public static readonly string sessionId = "sessionId"; 过期时间。小于0 的情况下自动为0 public static readonly int sess...
分类:系统相关   时间:2015-10-08 16:19:03    阅读次数:214
iOS:多线程NSThread的详细使用
NSThread具体使用:直接继承NSObjectNSThread:.优点:NSThread 是轻量级的,使用简单缺点:需要自己管理线程的生命周期、线程同步。线程同步对数据的加锁会有一定的系统开销1、属性 @property (readonly, retain) NSMutableDicti...
分类:移动开发   时间:2015-10-06 20:49:53    阅读次数:386
Objective-C Programming The Big Nerd Ranch Guide 笔记 19-37
Properties are either atomic or nonatomic, The difference has to do with multithreading. atomic is the default value. Properties are either readonly ....
分类:其他好文   时间:2015-10-05 23:25:03    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!