Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的 WPF 应用程序有一个 ToggleButton,其中包含鼠标指针的图像。这个想法是,用户将通过单击 ToggleButton 来选择三种不同的光标之一(普通鼠标光标、手形光标和“缩放”光标)。我希望光标图像显示在 ToggleButton 上。
如何将这些图标放在我的按钮上?
托尼
如果只有三个选项,为什么不搜索三个图像,然后在 30 秒左右检查鼠标,并在需要时调整按钮。