C# ComboBox 类 「爱情、让人受尽委屈。」 2022-06-12 22:17 170阅读 0赞 **文本原网址:http://blog.sina.com.cn/s/blog\_43eb83b90102dybt.html** 表示一个选择控件,该控件组合一个不可编辑的文本框和一个下拉项,该下拉项包含一个允许用户从列表中选择项的列表框。 属性: **1、Selector.SelectedIndex 属性** 获取或设置选定项的索引 **属性值** 类型:[System.Int32][] 选定项的索引。默认值为 -1(未选任何项)。 **2、Selector.SelectedItem 属性** 获取或设置选定项。**它返回项本身,通常是一个字符串值。** **3、Count 属性反映列表的项数。** **4、Items 属性** 若要在combobox控件中添加或删除项,请使用Items集合的add、insert、clearremove方法,或者可以在设计器中使用Items属性向列表添加项。 this.comboZzmm.Items.Add("中共党员"); this.comboZzmm.Items.Add("共青团员"); this.comboZzmm.Items.Add("民主党派"); this.comboZzmm.Items.Add("无党派"); **5、dropdownstyle属性** l Simple 始终显示列表 l Dropdown 文本部分可编辑 l Dropdownlist 文本部分不可编辑 <table style="margin:0px; padding:0px; color:rgb(73,73,73); font-family:simsun; font-size:14px; background-color:rgb(193,207,208)"> <tbody> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 名称</p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 说明</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.actualheight%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ActualHeight</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的呈现高度。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.actualwidth%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ActualWidth</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的呈现宽度。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.background%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Background</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个用于提供控件背景的画笔。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.borderbrush%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">BorderBrush</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个用于描述控件的边框背景的画笔。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.borderthickness%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">BorderThickness</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置控件的边框宽度。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.cachemode%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">CacheMode</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值指示应在可能时高速缓存已呈现内容。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.clip%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Clip</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于定义 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的内容边框的 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.media.geometry%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Geometry</a>。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.cursor%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Cursor</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置鼠标指针悬停在 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 上时所显示的光标。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.datacontext%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">DataContext</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 参与数据绑定时的数据上下文。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.defaultstylekey%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">DefaultStyleKey</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个键,该键引用控件的默认样式。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.desiredsize%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">DesiredSize</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取此 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 在布局过程的测量处理过程中计算的大小。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.dependencyobject.dispatcher%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Dispatcher</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取与此对象关联的 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.threading.dispatcher%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Dispatcher</a>。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.dependencyobject%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">DependencyObject</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.displaymemberpath%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">DisplayMemberPath</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置为每个数据项显示的属性的名称或路径。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.effect%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Effect</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于呈现此 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的像素着色器效果。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.fontfamily%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FontFamily</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于在控件中显示文本的字体。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.fontsize%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FontSize</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置此控件中文本的大小。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.fontstretch%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FontStretch</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置字体在屏幕上的压缩或扩展程度。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.fontstyle%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FontStyle</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置呈现文本时使用的样式。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.fontweight%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FontWeight</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置指定字体的粗细。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.foreground%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Foreground</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个用于描述前景色的画笔。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.height%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Height</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的建议高度。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.horizontalalignment%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">HorizontalAlignment</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置在布局父级(如面板或项控件)中构成 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 时应用于此元素的水平对齐特征。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.horizontalcontentalignment%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">HorizontalContentAlignment</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置控件内容的水平对齐方式。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.isdropdownopen%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsDropDownOpen</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值指示组合框的下拉部分当前是否已打开。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.iseditable%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsEditable</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值指示用户是否可以在组合框的文本框部分中编辑文本。此属性总是返回 false。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.isenabled%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsEnabled</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值指示用户是否可以与控件交互。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.ishittestvisible%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsHitTestVisible</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置此 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的包含区域是否可为命中测试返回 true 值。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.isselectionboxhighlighted%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsSelectionBoxHighlighted</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取一个指示是否突出显示 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.selectionboxitem%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">SelectionBoxItem</a> 的值。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector.issynchronizedwithcurrentitem%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsSynchronizedWithCurrentItem</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置指示 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Selector</a> 是否应当使 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector.selecteditem%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">SelectedItem</a> 与 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.items%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Items</a> 属性中的当前项保持同步的值。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Selector</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.istabstop%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">IsTabStop</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值指示是否将某个控件包含在 Tab 导航中。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.itemcontainergenerator%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemContainerGenerator</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取与此 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a> 关联的 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemcontainergenerator%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemContainerGenerator</a>。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.itemcontainerstyle%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemContainerStyle</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个样式,该样式应用于为组合框中的每个项生成的容器。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.items%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Items</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取用于生成控件内容的集合。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.itemspanel%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsPanel</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置模板,它定义了控制项的布局的面板。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.itemssource%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsSource</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于生成 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a> 的内容的集合。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol.itemtemplate%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemTemplate</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于显示每个项的 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.datatemplate%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">DataTemplate</a>。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.itemscontrol%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">ItemsControl</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.language%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Language</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置应用于 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的本地化/全球化语言信息。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.margin%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Margin</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的外边距。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.maxdropdownheight%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">MaxDropDownHeight</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于列出组合框项的下拉项的最大高度。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.maxheight%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">MaxHeight</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的最大高度约束。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.maxwidth%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">MaxWidth</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的最大宽度约束。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.minheight%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">MinHeight</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的最小高度约束。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.minwidth%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">MinWidth</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的最小宽度约束。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.name%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Name</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取(或设置,但请参见"备注")对象的标识名称。该名称提供最初已编译标记的引用。在 XAML 处理器从标记创建对象树后,运行时代码可以使用此名称引用标记元素。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.opacity%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Opacity</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置对象的不透明度。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.opacitymask%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">OpacityMask</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置用于改变此对象区域的不透明度的画笔。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.padding%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Padding</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置控件内的边距。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.parent%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Parent</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取对象树中此 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的父对象。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.projection%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Projection</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置在呈现此 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 时要应用的透视投影(三维效果)。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.rendersize%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">RenderSize</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的最终呈现大小。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.rendertransform%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">RenderTransform</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置影响 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的呈现位置的变换信息。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.rendertransformorigin%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">RenderTransformOrigin</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置由 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.rendertransform%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">RenderTransform</a> 声明的任何可能呈现变换的原点,相对于<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的边界。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.resources%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Resources</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取本地定义的资源字典。在 XAML 中,可以通过 XAML 隐式集合语法,将资源项建立为 <<em>frameworkElement</em>.Resources> 属性元素的子对象元素。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector.selectedindex%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">SelectedIndex</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置选定项的索引。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Selector</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector.selecteditem%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">SelectedItem</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置选定项。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.primitives.selector%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Selector</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.selectionboxitem%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">SelectionBoxItem</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取在选择框中显示的项。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.combobox.selectionboxitemtemplate%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">SelectionBoxItemTemplate</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取应用于选择框内容的模板。</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.style%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Style</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置呈现过程中应用于此对象的实例 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.style%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Style</a>。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.tabindex%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">TabIndex</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值决定在用户使用 Tab 键在控件中导航时元素接收焦点的顺序。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.tabnavigation%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">TabNavigation</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值修改 Tab 键和 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.tabindex%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">TabIndex</a> 针对此控件的工作方式。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.tag%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Tag</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个可用于存储有关此对象的自定义信息的任意对象值。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.template%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Template</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置控件模板。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.triggers%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Triggers</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取为 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 定义的动画的触发器的集合。 (继承自<a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.uselayoutrounding%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UseLayoutRounding</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置一个值,该值决定对象及其子树的呈现是否应使用将呈现与整像素对齐的舍入行为。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.verticalalignment%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">VerticalAlignment</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置在父对象(如面板或项控件)中构成 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 时应用于此元素的垂直对齐特征。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control.verticalcontentalignment%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">VerticalContentAlignment</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置控件内容的垂直对齐方式。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.controls.control%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Control</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement.visibility%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Visibility</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 的可见性。不可见的 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a> 不呈现,也不将其所需大小告知布局。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.uielement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">UIElement</a>。)</p> </td> </tr> <tr> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.width%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">Width</a></p> </td> <td style="margin:0px; padding:0px; font-family:Verdana,宋体,sans-serif; line-height:18px"> <p style="margin-top:0px; margin-bottom:5px; padding-top:0px; padding-bottom:0px; border:0px; list-style:none; word-wrap:normal; word-break:normal"> 获取或设置 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a> 的宽度。 (继承自 <a href="http://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement%28v=VS.95%29.aspx" style="text-decoration:none; color:rgb(86,96,83)" rel="nofollow">FrameworkElement</a>。)</p> </td> </tr> </tbody> </table> **方法**: **select(起始,结束)返回某一值的部分内容** **Selectall() 返回某一值的所有内容** **定制控件:** 继承并重写: 封装(自定义): [System.Int32]: http://msdn.microsoft.com/zh-cn/library/system.int32%28v=VS.95%29.aspx
还没有评论,来说两句吧...