Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Document Server
  Product Information
 [Expand]Redistribution and Deployment
 [Expand]Spreadsheet Document Server
 [Expand]XL Export Library
 [Expand]Rich Edit Document Server
 [Expand]Snap Document Server
 [Expand]PDF Document Processor
 [Expand]Compression Library
 [Expand]Bar Code Library
 [Collapse]Unit Conversion Library
   Getting Started
  [Expand]Examples
 [Expand]API Reference
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Getting Started

Important

The Universal Subscription or an additional Document Server Subscription is required to use this example in production code. Please refer to the DevExpress Subscription page for pricing information.

To get started with the Unit Conversion Library, perform the following steps.

  1. Start Microsoft Visual Studio and create a new Windows Forms Application project by selecting FILE | New | Project… in the main menu. In the invoked New Project window, select Windows Forms Application, specify the name of the project and click OK.

  2. On the Project menu, choose Add Reference. Alternatively, you can right-click your project in Solution Explorer and then click Add Reference. The Reference Manager dialog window is displayed. Select the DevExpress.Docs.v17.1.dll assembly and then click OK.

  3. Drag a Button control from the Toolbox and drop it on the form.
  4. Double click the button. In the button click handler, insert the code below.
  5. Run the project and execute the method. This will result in the display of the following message box.

Expanded See Also

How would you rate this topic?​​​​​​​