久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <i id='0ALh4'><tr id='0ALh4'><dt id='0ALh4'><q id='0ALh4'><span id='0ALh4'><b id='0ALh4'><form id='0ALh4'><ins id='0ALh4'></ins><ul id='0ALh4'></ul><sub id='0ALh4'></sub></form><legend id='0ALh4'></legend><bdo id='0ALh4'><pre id='0ALh4'><center id='0ALh4'></center></pre></bdo></b><th id='0ALh4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='0ALh4'><tfoot id='0ALh4'></tfoot><dl id='0ALh4'><fieldset id='0ALh4'></fieldset></dl></div>

    1. <legend id='0ALh4'><style id='0ALh4'><dir id='0ALh4'><q id='0ALh4'></q></dir></style></legend>

          <bdo id='0ALh4'></bdo><ul id='0ALh4'></ul>

        <small id='0ALh4'></small><noframes id='0ALh4'>

      1. <tfoot id='0ALh4'></tfoot>

        按住鼠標的 WPF 日歷控件

        WPF Calendar Control holding on to the Mouse(按住鼠標的 WPF 日歷控件)
      2. <small id='vziqf'></small><noframes id='vziqf'>

              <bdo id='vziqf'></bdo><ul id='vziqf'></ul>
              <i id='vziqf'><tr id='vziqf'><dt id='vziqf'><q id='vziqf'><span id='vziqf'><b id='vziqf'><form id='vziqf'><ins id='vziqf'></ins><ul id='vziqf'></ul><sub id='vziqf'></sub></form><legend id='vziqf'></legend><bdo id='vziqf'><pre id='vziqf'><center id='vziqf'></center></pre></bdo></b><th id='vziqf'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vziqf'><tfoot id='vziqf'></tfoot><dl id='vziqf'><fieldset id='vziqf'></fieldset></dl></div>
                <tbody id='vziqf'></tbody>

                  <legend id='vziqf'><style id='vziqf'><dir id='vziqf'><q id='vziqf'></q></dir></style></legend><tfoot id='vziqf'></tfoot>
                1. 本文介紹了按住鼠標的 WPF 日歷控件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  因此,我在 VS2010 的全新 WPF 應用程序中刪除了 MainWindow.xaml 上的標準 WPF Calendar 控件.如果我單擊日歷中的某一天,然后嘗試單擊應用程序的關閉按鈕,我必須在關閉按鈕上單擊兩次才能接受單擊.就好像 Calendar 沒有釋放鼠標來與應用程序的其余部分進行交互一樣.

                  So I dropped the standard WPF Calendar control on the MainWindow.xaml in a brand new WPF App in VS2010. If I click on a day in the calendar and then try to click the Close button for the app, I have to click twice on the close button before it accepts the click. It's acting as if the Calendar hasn't released the Mouse to interact with the rest of the application.

                  我已將 Focusable 更改為 false,但效果沒有任何變化,我已嘗試覆蓋 PreviewOnMouseUp 并調用 ReleaseMouseCapture() 無濟于事.我對 MouseLeaveMouseLeftButtonUp 做了同樣的事情,結果相同.鑒于這些事情都不起作用,我懷疑我在叫錯樹.谷歌沒有發(fā)現任何值得注意的東西,但也許我的 GoogleFu 今天還達不到標準.

                  I've changed Focusable to false, with no change in effect, and I've tried overriding the PreviewOnMouseUp and calling ReleaseMouseCapture() to no avail. I've done the same thing with MouseLeave and MouseLeftButtonUp with the same result. Given that none of those things are working I suspect I'm barking up the wrong tree. Google has turned up nothing of note, though perhaps my GoogleFu is not up to snuff today.

                  有什么想法嗎?

                  推薦答案

                  您可以通過使用如下處理程序訂閱日歷的 PreviewMouseUp 事件來更改此行為:

                  You can change this behavior by subscribing to the calendar's PreviewMouseUp event with a handler like this:

                  private void Calendar_PreviewMouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
                  {
                      if (Mouse.Captured is CalendarItem)
                      {
                          Mouse.Capture(null);
                      }
                  }
                  

                  這篇關于按住鼠標的 WPF 日歷控件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯(lián)網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Ignore whitespace while reading XML(讀取 XML 時忽略空格)
                  XML to LINQ with Checking Null Elements(帶有檢查空元素的 XML 到 LINQ)
                  Reading XML with unclosed tags in C#(在 C# 中讀取帶有未閉合標簽的 XML)
                  Parsing tables, cells with Html agility in C#(在 C# 中使用 Html 敏捷性解析表格、單元格)
                  delete element from xml using LINQ(使用 LINQ 從 xml 中刪除元素)
                  Parse malformed XML(解析格式錯誤的 XML)
                    <tbody id='gUVg3'></tbody>

                    <tfoot id='gUVg3'></tfoot>

                  1. <legend id='gUVg3'><style id='gUVg3'><dir id='gUVg3'><q id='gUVg3'></q></dir></style></legend>

                          <small id='gUVg3'></small><noframes id='gUVg3'>

                        1. <i id='gUVg3'><tr id='gUVg3'><dt id='gUVg3'><q id='gUVg3'><span id='gUVg3'><b id='gUVg3'><form id='gUVg3'><ins id='gUVg3'></ins><ul id='gUVg3'></ul><sub id='gUVg3'></sub></form><legend id='gUVg3'></legend><bdo id='gUVg3'><pre id='gUVg3'><center id='gUVg3'></center></pre></bdo></b><th id='gUVg3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='gUVg3'><tfoot id='gUVg3'></tfoot><dl id='gUVg3'><fieldset id='gUVg3'></fieldset></dl></div>
                            <bdo id='gUVg3'></bdo><ul id='gUVg3'></ul>

                            主站蜘蛛池模板: 嫩草视频网站 | 欧美在线视频一区二区 | 91av国产在线视频 | 久久久久久久久久久久久久久久久久久久 | 亚洲国产精品视频 | 日本视频在线 | 亚洲中午字幕 | 欧美日韩国产精品一区二区 | 久久av一区二区三区 | 亚洲精久久久 | 国产精品久久久久久久免费大片 | 日韩在线国产精品 | 91视频在线观看 | 日韩精品在线网站 | 久久精品色欧美aⅴ一区二区 | 午夜在线免费观看视频 | 国产精品区二区三区日本 | 天天干天天色 | 欧美成人激情视频 | 综合中文字幕 | 国产精品视频一二三区 | 亚洲97| 日日骚网| 97在线播放| 国产成人免费在线 | 欧产日产国产精品视频 | 亚洲精品中文字幕在线 | 美女视频三区 | 日韩不卡在线观看 | 成人精品在线视频 | 免费观看国产视频在线 | 99视频免费播放 | 国产精品嫩草影院精东 | 嫩草最新网址 | 亚洲精品久久久久久久久久久 | 欧美日本在线观看 | 亚洲一级毛片 | 国产精品久久久久久久久久久久 | 精品欧美| wwwww在线观看 | 精品一区二区三区在线观看 |