扩展列表框问题 [英] Extended List Box Isssue

查看:105
本文介绍了扩展列表框问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用ExtendedListBox,当我在列表框中选择垂直项时,它被选中,但是当我在列表框的外部或空白处单击时,第一个项将获得矩形边框.我想避开那个边界.
没有发送带有问题附件的工具,否则我会向您发送有关我问题的图片.

Hi,

I am using ExtendedListBox in which when i select the perticular item in the list box it is selected but when i click outside or in the blank space of the list box the first item get rectangular border. I want to avoid that border.
there is no facility for sending attachment with the question otherwise i will sen you the image regarding my issue.

<local:extendedlistbox x:name="extListBox" itemssource="{Binding Data}" selectionmode="Extended" clickonselecteditemaction="KeepSelectionIfItemSelected" xmlns:x="#unknown" xmlns:local="#unknown">
            <local:extendedlistbox.itemtemplate>
                <datatemplate>
                    <textblock text="{Binding UserName}"></textblock>
                </datatemplate>
            </local:extendedlistbox.itemtemplate>
        </local:extendedlistbox>


谢谢,
Umesh Tayade


Thanks,
Umesh Tayade

推荐答案

我想它是您所指的焦点矩形.当列表框失去焦点时,它应该消失.您如何选择处理方式取决于您的需求....
I would guess it''s the focus rectangle you are referring to. It should go away when the listbox loses focus. How you choose to deal with that depends on your needs....See here[^].


这篇关于扩展列表框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆