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
;
}
}
查看全文
相关阅读:
awk学习
Redis快速入门
Redis源码研究—基础知识
稳定模式在RESTful架构中的应用
解析Google集群资源管理系统Omega
在Ubuntu 14.04 64bit上安装百度云Linux客户端BCloud
在Ubuntu 14.04 64bit上安装Markdown和绘图软件Haroopad
在Ubuntu 14.04 64bit上安装网易云音乐Linux版本(最新官方版)
各数据库连接maven配置
maven POM.xml 标签详解
原文地址:https://www.cnblogs.com/alice/p/189034.html
最新文章
zoj 3762(求三角形的最大高)
zoj 月赛B题(快速判断一个大数是否为素数)
Netty权威指南之Netty入门程序
Netty权威指南之AIO编程
Jenkins使用
Maven发布war包到Tomcat
Docker应用之容器
Docker应用之镜像
Maven私服搭建
MyBatis入门程序之整合Spring
热门文章
MyBatis入门程序之表关联
MyBatis入门程序之mapper映射文件常用配置命令
vim recording
关于电平触发和边沿触发的不同
程序的各个段
Linker Special Section Types
grep环境变量常用配置
Timer和counter
shell常识总结
shell常用命令总结
Copyright © 2011-2022 走看看