[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]MVVM Framework
    Getting Started
   [Collapse]Predefined Set
    How to: Create a Custom Behavior
   Data Annotation Attributes
   Weak Event
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[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)


Sometimes, some properties of a UI control are not dependency properties, for instance, the TextBox.SelectedText property. This means the WPF binding system cannot target this property and the code below is not allowed

DependencyPropertyBehavior can be used to overcome such issues.

To use the DependencyPropertyBehavior, it is necessary to set three its properties:

  • PropertyName - specifies the name of a property that should be bound.
  • Binding - specifies a binding that should be applied to the specified property.
  • EventName - specifies an event which the DependencyPropertyBehavior process to perform updating of the specified binding.

Expanded Example

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