zoukankan      html  css  js  c++  java
  • 控件属性

    1.多行下拉文本属性编辑器 

    1 [Editor("System.ComponentModel.Design.MultilineStringEditor,System.Design", typeof(UITypeEditor))]
    2 public string TxtEditor
    3 {
    4     //... ...
    5 }

    2.色值选择属性编辑器

    1 [Editor("System.ComponentModel.Design.ColorEditor,System.Design", typeof(UITypeEditor))]
    2 public Color ColorEditor
    3 {
    4     //... ...
    5 }

    3.文件选择属性编辑器

    1 [Editor(typeof(FileNameEditor), typeof(UITypeEditor))]
    2 public string FileName
    3 {
    4     //... ...
    5 }

    4.目录选择属性编辑器

    1 [Editor(typeof(FolderNameEditor), typeof(UITypeEditor))]
    2 public string FolderNameEditor
    3 {
    4     //... ...
    5 }

    5.连接字符串属性编辑器

    1 [Editor(typeof(System.Web.UI.Design.ConnectionStringEditor), typeof(UITypeEditor))]
    2 public string ConnectionStringEditor
    3 {
    4     //... ...
    5 }

    6.表达式绑定集合属性编辑器

    1 [Editor(typeof(System.Web.UI.Design.ExpressionsCollectionEditor),typeof(UITypeEditor))]
    2 public string ExpressionsCollectionEditor
    3 {
    4     //... ...
    5 }

    7.用户控件对话框编辑器

    1 [Editor(typeof(System.Web.UI.Design.UserControlFileEditor), typeof(UITypeEditor))]
    2 public string UserControlFileEditor
    3 {
    4     //... ...
    5 }
  • 相关阅读:
    数值的整数次方
    二进制中1的个数
    SpingBoot 启动自动给MongoDB建库
    Java 依赖冲突的解决办法
    Http协议
    你被限流了吗?
    LeetCode 783. 二叉搜索树节点最小距离
    Leetcode 687. 最长同值路径
    LeetCode 784. 字母大小写全排列
    LeetCode 面试题 08.06. 汉诺塔问题
  • 原文地址:https://www.cnblogs.com/zhuhc/p/2873136.html
Copyright © 2011-2022 走看看