NavBarItem.CoerceImageSource(DependencyObject, ImageSource) Method
Called whenever the NavBarItem.ImageSource, NavBarGroup.ImageSource or NavBarGroup.ImageSourceInNavPaneMenu dependency property value is being re-evaluated, or coercion is specifically requested.
Namespace: DevExpress.Xpf.NavBar
Assembly: DevExpress.Xpf.NavBar.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.NavBar, DevExpress.Wpf.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
dObj | DependencyObject | The object that the property exists on. When the CoerceImageSource method is invoked, the property system will pass this value. |
imageSource | ImageSource | The new value of the property, prior to any coercion attempt. |
Returns
Type | Description |
---|---|
ImageSource | The coerced value. |
See Also