Skip to content

wpf border空白区域无法点击 | probie's blog #48

Description

@probieLuo

https://probieluo.github.io/posts/wpf-border-hittest/

以下代码在无内容空白区域无法点击选中 因为border的Background默认null,为null时border区域不参与点击命中测试! 改成Background=Transparent或者让它不为null即可 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions