[英]Disable Row Selection in Telerik Rad Grid View
實際的問題是,當我單擊“堆棧面板”的第一項時,我已經在“網格視圖”單元格模板中創建了一個堆棧面板,然后在單元格的頂部出現一個白色的高亮顯示。我要刪除它
有什么解決辦法嗎? 提前致謝
這是我的代碼
<telerikControls:GridViewDataColumn>
<telerikControls:GridViewDataColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical" Margin="0,0,0,5" Height="Auto">
<itimControls:Label Text="Qty/Value" Name="lblqty" Width="90" VerticalAlignment="Bottom" Margin="0,0,0,0" ></itimControls:Label>
<itimControls:TextBox Width="80" Value="{Binding Qty,Mode=TwoWay}" VerticalAlignment="Top" Margin="0,3,0,0" ></itimControls:TextBox>
</StackPanel>
</DataTemplate>
</telerikControls:GridViewDataColumn.CellTemplate>
</telerikControls:GridViewDataColumn>
由於聲譽,我無法分享輸出圖片。
抱歉,我的最后一個答案是直到我閱讀標簽后才知道您使用的是銀色指示燈,但這應該可以工作。
“要禁用選擇功能,可以將CanUserSelect設置為false。”
<telerik:RadGridView x:Name="GridView1" EnableRowVirtualization="False"/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.