桌面開發人員的跨平臺Cross-Platform for Desktop Developers

本節包含的資訊可協助 WPF 和 Windows Forms 開發人員透過 Xamarin 慣用語行動應用程式開發,方法是交叉參考其現有的知識和體驗,並提供將桌面應用程式移植到行動裝置的範例。This section contains information to help WPF and Windows Forms developers to learn mobile app development with Xamarin, by cross-referencing their existing knowledge and experience to mobile idioms, and providing examples of porting desktop apps to mobile.

應用程式生命週期比較App Lifecycle Comparison

瞭解 WPF 與 Xamarin 的差異。 Forms 應用程式啟動和背景狀態。Understanding the differences between WPF and Xamarin.Forms app startup and background states.

UI 控制項比較UI Controls Comparison

在 Windows Forms、WPF 和 Xamarin 中尋找對等控制項的快速參考,包括 WPF 與 Xamarin 之間差異的其他指引。Quick reference to find equivalent controls in Windows Forms, WPF, and Xamarin.Forms, including additional guidance on the differences between WPF and Xamarin.Forms.

移植指引Porting Guidance

使用可攜性分析器協助將桌面應用程式代碼(不包括使用者介面)遷移至 Xamarin. 表單。Using the Portability Analyzer to help migrate desktop application code (excluding the user interface) to Xamarin.Forms.

範例Samples

示範企業應用程式架構並將程式碼從 WPF 移植到 Xamarin. 表單的參考範例。Reference samples demonstrating enterprise application architecture and porting code from WPF to Xamarin.Forms.

進一步了解Learn More

建立 Mobile Apps 電子書 企業應用程式模式電子書Creating Mobile Apps eBook Enterprise Application Patterns eBook