</value> 40 [Browsable(true)] 41 [Category("自定义")] 42 [DefaultValue(false) </value> 62 [Browsable(true)] 63 [Category("自定义")] 64 [Description("获取或设置文本距离 </value> 109 [Browsable(true)] 110 [Category("自定义")] 111 [Description("获取或设置圆心颜色 </value> 130 [Browsable(true)] 131 [Category("自定义")] 132 [Description("获取或设置圆心宽度 </value> 153 [Browsable(true)] 154 [Category("自定义")] 155 [Description("获取或设置标题
HtmlInputHidden();
}
///
</value> 9 [Browsable(true)] 10 [Category("自定义")] 11 [Description("获取或设置标题 </value> 31 [Browsable(true)] 32 [Category("自定义")] 33 [Description("获取或设置标题字体 </value> 73 [Browsable(true)] 74 [Category("自定义")] 75 [Description("获取或设置项目 </value> 94 [Browsable(true)] 95 [Category("自定义")] 96 [Description("获取或设置方向 </value> 115 [Browsable(true)] 116 [Category("自定义")] 117 [Description("获取或设置对齐方式
</value> 42 [Browsable(true), Category("自定义属性"), Description("错误提示背景色"), Localizable(true)] 43 </value> 58 [Browsable(true), Category("自定义属性"), Description("错误提示文字颜色"), Localizable(true)] </returns> 105 [Browsable(true), Category("自定义属性"), Description("验证错误提示信息,当为空时则使用默认提示信息"), DisplayName </value> 83 [Browsable(true), Category("自定义属性"), Description("错误提示背景色"), Localizable(true)] </value> 99 [Browsable(true), Category("自定义属性"), Description("错误提示文字颜色"), Localizable(true)]
, true)] public new void Show() { throw new NotImplementedException(); } [Browsable( , true)] public new bool IsMdiContainer { get { return false; } set { } } [Browsable , true)] public new bool ShowIcon { get { return false; } set { } } [Browsable(false , true)] public new bool ShowInTaskbar { get { return false; } set { } } [Browsable( , true)] public new bool TopMost { get { return true; } set { } } [Browsable(false),
* and clicks on a link in the text, the Intent generated execute that * link will require the BROWSABLE . */ @SdkConstant(SdkConstantType.INTENT_CATEGORY) public static final String CATEGORY_BROWSABLE = "android.intent.category.BROWSABLE"; 我们还需要配置 <category android:name="android.intent.category.<em>BROWSABLE</em> android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW cat=[android.intent.category.<em>BROWSABLE</em> name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em>
</value> 9 [Browsable(true)] 10 [Category("自定义")] 11 [Description("获取或设置分隔份数 </value> 67 [Browsable(true)] 68 [Category("自定义")] 69 [Description("获取或设置线条色 </value> 88 [Browsable(true)] 89 [Category("自定义")] 90 [Description("获取或设置节点 </value> 109 [Browsable(true)] 110 [Category("自定义")] 111 [Description("获取或设置标题 </value> 174 [Browsable(true)] 175 [Category("自定义")] 176 [Description("获取或设置值线条
--BROWSABLE指定该Activity能被浏览器安全调用--> <category android:name="android.intent.category.<em>BROWSABLE</em>"/ category,只有在intent同时含有这2个category时才算匹配,而android.intent.category.DEFAULT是默认的,有实际意义的是android.intent.category.BROWSABLE 都是不公开的,但难免会泄漏出去(反编译App等方式),scheme接口本身要做好防范,接收intent时可以这样做: // forbid launching activities without BROWSABLE category intent.addCategory("android.intent.category.BROWSABLE"); // forbid explicit call intent.setComponent
data/home/t_route/ available = yes valid users = root read only = no browsable data/home/t_route/ available = yes valid users = root read only = no browsable
</value> 144 [Browsable(true)] 145 [Description("获取或设置当前控件的文本")] 146 [Category </value> 233 [Category("自定义")] 234 [Description("获取或设置虚线的颜色")] 235 [Browsable </value> 257 [Category("自定义")] 258 [Description("获取或设置虚线是否进行显示")] 259 [Browsable </value> 278 [Category("自定义")] 279 [Description("获取或设置图形的纵轴分段数")] 280 [Browsable </value> 344 [Category("自定义")] 345 [Description("获取或设置图标的标题信息")] 346 [Browsable
指定默认属性后,当用户在Form里单击这个控件时,将在属性浏览窗口中自动选定该属性: [DefaultProperty("BtnName")] 2)Browsable:设置控件某一属性或事件是否出现在“ 属性”窗口中 BrowsableAttribute(MSDN)指定某一属性或事件是否应在“属性”窗口中显示,如在属性BtnName上添加代码: [Browsable(false)] 则控件testUserControl1 如果某属性或事件没有添加Browsable特性,那么该属性或事件也可以在“属性”窗口中看到。 这里还要说明以下,Browsable只能决定某属性或事件在“属性”窗口内的可见性,Browsable被置为false的属性和事件,仍可以在编辑器中通过代码中使用。 特性一起使用: [Browsable(true)] [Description("设置按钮上显示的文字")] 或写在一对方括号里,用逗号隔开: [Browsable(true), Description(
. # Additionally, we include login URLs for the browsable API. urlpatterns = [ url(r'^', include( Finally, we're including default login and logout views for use with the browsable API. That's optional, but useful if your API requires authentication and you want to use the browsable API
</value> 9 [Browsable(true), Category("自定义属性"), Description("采样图片"), Localizable(true)] 10 </value> 30 [Browsable(true), Category("自定义属性"), Description("透明色,如果为空,则使用0,0坐标处的颜色"), Localizable </value> 51 [Browsable(true), Category("自定义属性"), Description("当作透明色的透明度,小于此透明度的颜色将被认定为透明,0-255 </value> 74 [Browsable(true), Category("自定义属性"), Description("透明色颜色阀值"), Localizable(true)] 75
android:name=".BrowsableIntentActivity" android:label="@string/title_activity_browsable_intent <category android:name="android.intent.category.DEFAULT" /> // Accept Browsable intent <category android:name="android.intent.category.<em>BROWSABLE</em>" /> savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_browsable_intent
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE Intent intent = new Intent(Intent.ACTION_VIEW); intent.addCategory(Intent.CATEGORY_BROWSABLE
android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em> android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em> action Requires android.intent.action.VIEW Intent category Any category Requires android.intent.category.<em>BROWSABLE</em> android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em>
. # Additionally, we include login URLs for the browsable API. urlpatterns = [ path('', include(router.urls 最后,我们在browsable API中包含了默认的login和logout视图。这是可选的,但是如果您的API需要身份验证,并且希望使用browsable API,那么这是非常有用的。
Category Category 常量对应字符串 简单说明 CATEGORY_DEFAULT android.intent.category.DEFAULT 默认的Category CATEGORY_BROWSABLE android.intent.category.BROWSABLE 指定该Activity能被浏览器安全调用 CATEGORY_TAB android.intent.category.TAB 指定Activity
android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em> android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em> android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em>
android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.<em>BROWSABLE</em> android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.<em>BROWSABLE</em> 例,startActivity(intent) 中的 intent 的分类不能是 android.intent.category.DEFAULT 和 android.intent.category.<em>BROWSABLE</em>