- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
button控件(A button control)
button控件(A button control)
Button is one of the most common and common controls in the winform program, and the Button class inherits from ButtonBase and implements the IButtonControl interface (DialogResult {get; set;}; void NotifyDefault (bool value); void PerformClick ();)
The implementation of the IButtonControl interface is not going to be used, mainly as a ButtonBase class, and ButtonBase is directly inherited from the Control class, so there arent many additional attribute members. Next, Ill make a simple summary of the common properties, methods, and events of the Button control and make a simple winform program that tests these properties, methods, and events.
Part properties of Button:
AllowDrop (bool) : gets or sets a value indicating whether the control can accept the data that the user is dragging to it. This property will determine whether Button accepts a series of Drag events (DragDrop, DrageEnger, DrageLeave, DrageOver).
Anchor styles: get or set the edge of the container bound to the container and determine how the control is resized with its parent.
AutoEllipsis (bool) : gets or sets a value indicating whether to display ellipsis (...) on the right edge of the control. To indicate that the control text exceeds the specified control length.
AutoSize (bool) : gets or sets a value indicating whether the control is resized based on its contents.
AutoSizeMode (AutoSizeMode) : get or set System. Windows. Forms. The Button automatically adjusts the size of the pattern in his place.
BackColor (Color) : gets or sets the background Color of the control.
BackgroundImage (Image) : gets or sets the background Image displayed in the control.
Bottom, Top, Left, Right (int) : get the distance between the Bottom edge of the control and the working area of the container, Bottom, Left, and Right edge (in pixels).
CanFocus (bool) : gets a value that indicates whether the control can receive the focus.
CanSelect (bool) : gets a value indicating whether the control can
您可能关注的文档
- 物理科组工作计划(Physical division work plan).doc
- 物理结论1(Physical conclusion 1).doc
- 物质形态(Physical form).doc
- 物质科学期末复习题(Material science final review).doc
- 物理极值问题(Physical extremum problem).doc
- 玻璃棉和岩棉构成成分及区别(The composition and difference of glass and rock wool).doc
- 玻璃的种类(Type of glass).doc
- 玻璃纤维的生产工艺及流程(Production process and process of glass fiber).doc
- 病人安全十大目录(Patient safety 10 list).doc
- 病理切片染色(Pathological section dyeing).doc
- c++编译器和链接器(C + + compiler and linker).doc
- c++程序设计课后习题第6章答案(C + + program design exercises chapter 6 answer).doc
- C++名家对话-009重定向(C + + master dialogue - 009 redirection).doc
- C++程序设计程序代码例12.1(C + + programming code example 12.1).doc
- c-Si异质结太阳电池(C-si heterojunction solar cell).doc
- C 热辐射 辐射换热(C thermal radiation for heat transfer).doc
- C51中精确的延时与计算的实现(Accurate delay and calculation of C51).doc
- CAD2004 快捷键备份(CAD2004 shortcut key backup).doc
- c++计算方法(C + + calculation method).doc
- CAD2004命令大全(The CAD2004 command is full).doc
文档评论(0)