🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
<p><span style="font-weight:700;"><span style="font-size:16px;">FullRowSelect 属性</span></span></p> <p><span style="line-height:1.78571;">这个属性返回或设置一个值</span>,它指定对象是否整行选择</p> <p class="label" style="font-size:12px;">语法</p> <p><span class="emp"><i>object</i></span>.<b>FullRowSelect</b>[ =&nbsp;<span class="emp"><i>boolean</i></span>]</p> <p><span style="font-weight:700;"><span style="font-weight:700;"><span style="font-weight:700;">FullRowSelect</span></span></span>属性的语法包含下面部分:</p> <table class="MsoNormalTable" border="1" cellpadding="0" style="width:650px;"><tbody><tr><td width="29%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">部分</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="71%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">描述</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="29%" valign="top"><p class="MsoNormal"><span class="emp"><i><span style="font-size:9pt;">object</span></i></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="71%" valign="top"><p class="MsoNormal">对象表达式,其值是“应用于”列表中的一个对象。</p> </td> </tr> <tr><td width="29%" valign="top"><p class="MsoNormal"><span class="emp"><i><span style="font-size:9pt;">boolean</span></i></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="71%" valign="top"><p class="MsoNormal">一个布尔表达式,指定对象是否被整行选择</p> </td> </tr> </tbody> </table> <p class="MsoNormal">&nbsp;</p> <p class="MsoNormal">&nbsp;</p> <p class="label" style="font-size:12px;">说明</p> <p>选择为True后,整行会被选择;反之,则不整行选择</p> <p><span style="font-weight:700;"></span><span style="font-weight:700;"></span><span style="font-weight:700;"></span><span style="font-weight:700;"></span><span style="font-weight:700;"></span></p> <pre class="prettyprint lang-vb">Private Sub ChkFullRowSelect_Click() &nbsp; &nbsp; TreeView0.FullRowSelect = Me.ChkFullRowSelect End Sub </pre> <div><br /> </div>