[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Collapse]Build an Application
  [Expand]Choose Application UI
  [Expand]Printing and Exporting
  [Collapse]WinForms MVVM
     Conventions and Attributes
     Data Bindings and Notifications
     Layer Communication. Messenger
     Fluent API Support
     View Management
     ViewModel Management
   [Expand]Design-time Support
  [Expand]Right-to-Left Layout
   Redistribution and Deployment
   How to: Perform Actions On Application Startup
 [Expand]Controls and Libraries
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Fluent API Support

Fluent APIs utilize method cascading to relay the instruction context of a subsequent call. By doing so, a Fluent API follows the same natural language rules as those utilized by people. As a result, a well-constructed Fluent API provides more human-friendly code that is easier to perceive and understand.


To get started with Fluent API concepts, refer to the following articles.

  • A Look at Fluent APIs

    A Code Project blog post by Sacha Barber that describes what Fluent API is and why you should use it.

  • Code First Fluent API

    The MSDN documentation section that describes Fluent API in the scope of the Entity Framework.

The DevExpress MVVM Framework provides extension methods to build Fluent API expressions for any task: from binding simple properties to relating MVVM behaviors with specific events.

Expanded Property Binding and UI Triggers

Related article: Data Bindings and Notifications

  • Simple property binding.

  • Binding to nested properties.

  • UI Triggers.

Expanded Command Binding

Related article: Commands

  • Parameterized commands with CanExecute conditions.

  • Asynchronous commands.

  • The WithCommand extension allows you to bind a command to one or multiple target UI elements.

  • Command triggers allow you to automatically call specific methods before the target command is executed, after that, or when this command's CanExecute condition changes.

Expanded Attaching Behaviors

Related article: Behaviors

  • Confirmation behavior.

  • Event-To-Command Behaviors

  • Key-To-Command and Keys-To-Command Behaviors

Is this topic helpful?​​​​​​​