Crosslight for Windows Phone (further called “Crosslight WinPhone”) is built upon Windows Phone 8 with the native XAML and .NET Framework subset for Windows Phone. Although Windows Phone leverages XAML which provides built-in data binding support, the Windows Phone SDK doesn’t come with robust framework that facilitates MVVM pattern development.
Crosslight WinPhone provides comprehensive components, frameworks and application infrastructure that make Windows Phone development even better and easier. And best of all, once you build the user interaction logic and application layer with Crosslight, you can completely reuse them in other platforms such as iOS and Android.
Crosslight WinPhone provides comprehensive implementation to all core services required in Crosslight Foundation such as platform and view services for managing actions in both UI and background thread. In addition, Crosslight WinPhone conforms to the interface and specification sets in the Foundation such as the application service and life cycle management, as well as navigation services, presenter services, form builder services and mobile services. All pre-built services are implemented according to the platform’s best practices which results in rock-solid reliability and unparalleled performance. Learn more.
Crosslight WinPhone ships with a comprehensive set of specialized page classes that support MVVM pattern development such as phone application page, form page, pivot page, panorama page and more. It also includes numerous UI components with full MVVM support which were lacking in the native Windows Phone SDK. For instance, the application bar is now extended with command support allowing you to bind it to a command in the ViewModel.
The standard page classes and view components that comes from Windows Phone SDK typically contains only basic features and lack of functionality to support rapid MVVM development. The MVVM-enabled pages include comprehensive time-saving features that automate the connection between the page and the ViewModel. This lets you quickly create pages and views for your apps in very minimal code that typically require a simple constructor and a few property sets. Learn more
Optimized for key business scenarios, Crosslight WinPhone provides navigation-aware support to the existing data controls – such as LongListSelector and ListBox – which allow you to easily implement master-detail navigation with a simple XAML declaration. Crosslight automates the navigation and data flow communication behind the scene, eliminating hundreds line of repetitive code.
Better yet, the page navigation is automatic and seamless – thanks to the advanced navigation service in Crosslight WinPhone that conforms to the Foundation’s universal navigation interface. It also supports advanced features such as modal navigation and nested navigation support which makes it on-par with navigation in other supported platforms. Fundamentally, you write code in the ViewModel that calls the method to perform navigation, it’ll just work without writing a code in the WinPhone layer. Crosslight streamlines everything – from passing selected data to running navigation life cycle and capturing user input. Learn more
Crosslight WinPhone provides comprehensive form builder service that conforms to the common interface and metadata specified in the Crosslight Foundation. It supports four basic form layout styles such as left detail, right detail, and row detail – as well as advanced composite image field layout. The composite image layout arranges an image with several fields on the right side. The image picker includes built-in image management such as taking photo from camera, browse from gallery, edit and crop image, and automatic thumbnail generation. And best of all, everything is designed in its own, authentic Windows user experiences.
In addition, Crosslight WinPhone supports all predefined editing controls, from basic text view, auto-grow multi-line text, switch, and date picker to advanced selection controls and list picker components. All editor components are designed based on the Modern user interface, for instances, date picker is shown in a modal activity instead of in-line popup. Furthermore, the screen navigation in the form editing is automatically handled, so you don’t have to write a single line-of-code related to the user experiences. Learn more.
To help you quickly jump start with the next WinPhone project, Crosslight sports six project templates that you can choose from – blank, navigation, pivot, business, master-detail, and multipage project. Unlike the standard project templates, Crosslight WinPhone project templates are based on pure MVVM design pattern for maximum code reuse. As the results, the shared application layer can be entirely reused in other Crosslight platforms such as iOS, Android and Windows Store. Learn more.
Crosslight WinPhone is designed with extensible architecture right from the start. Every implementation conforms to specific service providers or interfaces defined in the Foundation. You can easily replace any built-in implementation by either extending the existing services or creating your own services, then register it with a single line-of-code.
In addition to the pre-built services, you can also create your own interfaces and services by using the guidance provided by the Crosslight Foundation. Crosslight WinPhone also covers many key scenarios for extensible architecture such as plugging a custom editing control to the form builder service through custom XAML templates or user controls.