2012-06-05 66 views
3

使用來自CodeProject的WPF NotifyIcon。它工作正常,但我注意到的是,與.NET 4.0編譯時的文本菜單始終位於任務欄上方,它的罰款與.NET 3.5:WPF NotifyIcon - ContextMenu職位

.NET 3.5

.NET 3.5

.NET 4.0

.NET 4.0

我打得四處的TaskbarIcon類,但在文本菜單裏面的位置值只是不希望在任務欄的前面得到:

ContextMenu.Placement = PlacementMode.AbsolutePoint; 
    ContextMenu.HorizontalOffset = cursorPosition.X; 
    ContextMenu.VerticalOffset = cursorPosition.Y; 

我已經在comment section on CodePlex頁問起這幾個星期前,但沒有得到答覆。

有沒有人有解決方案或解決方法?

+1

這是Code * Project *,而不是Code * Plex *。 :) –

回答