wpf-devexpress-dot-xpf-dot-editors-dot-imageedit.md
Gets or sets an image displayed within the editor. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public ImageSource Source { get; set; }
Public Property Source As ImageSource
| Type | Description |
|---|---|
| ImageSource |
An ImageSource object that represents the image.
|
<dxe:ImageEdit Source="/EditorsDemo;component/Images/Persons/m24.jpg" HorizontalAlignment="Center"/>
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Source property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-imageedit-edit-images-in-separate-window/CS/ImageEditToEditModeBehavior/MainWindow.xaml#L35
</Grid.RowDefinitions>
<dxe:ImageEdit x:Name="imageEdit" Source="{Binding Source, Mode=TwoWay}" ShowMenu="False"/>
<StackPanel Grid.Row="1" Margin="2" Orientation="Horizontal" HorizontalAlignment="Center">
See Also