zoukankan
html css js c++ java
propertyGrid实现选项(原创)
Draw Dorp-Down propertyGrid
[TypeConverter(
typeof
(backgroundRepeatConverter)),
DescriptionAttribute(
"
description
"
),
CategoryAttribute(
"
行为
"
)]
public
string
backgroundRepeat
{
get
{
if
(e.style.backgroundRepeat
==
null
)
return
""
;
return
e.style.backgroundRepeat;
}
set
{
e.style.backgroundRepeat
=
value;
}
}
public
class
backgroundRepeatConverter: StringConverter
{
public
override
StandardValuesCollection
GetStandardValues(ITypeDescriptorContext context)
{
return
new
StandardValuesCollection(
new
string
[]
{
"
repeat
"
,
"
repeat-x
"
,
"
repeat-y
"
,
"
no-repeat
"
}
);
}
public
override
bool
GetStandardValuesSupported(
ITypeDescriptorContext context)
{
return
true
;
}
public
override
bool
GetStandardValuesExclusive(
ITypeDescriptorContext context)
{
return
true
;
}
}
查看全文
相关阅读:
Shell脚本创建Nginx的upstream及location配置文件
系统初始化
算法训练 P0505
算法训练 素因子去重
基础训练 时间转换
基础训练 字符串对比
基础训练 分解质因数
基础训练 矩形面积交
快速幂矩阵
基础训练 矩阵乘法
原文地址:https://www.cnblogs.com/alice/p/189034.html
最新文章
关于line-height
mysql可视化工具navicat.exe推荐
JVM垃圾回收器
jstack 实验分析
一个整数二进制中1的个数
PriorityQueue底层原理
JVM中Class的Method
Volatile 为什么不安全?
Java中HashMap底层实现原理(JDK1.8)源码分析
sharding-JDBC学习笔记
热门文章
springboot-mybatis配置问题
freemark 基本使用
MyFlash闪回恢复数据
innobackupx备份原理
rabbitmq 集群安装
rabbitmq .erlang.cookie文件疑惑
nginx实现ldap认证
ldap禁止匿名用户登录
ldap添加memberof支持
centos 7下ldap安装
Copyright © 2011-2022 走看看