نقل قول نوشته شده توسط ma.andishe مشاهده تاپیک
اینو هم نصب کردم ولی فکر میکنم یه ایرادی مربوط بهstyle باشه



<Window x:Class="WpfMasksTest.Echreshavi.View.PersonInfoTe st"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfMasksTest.Echreshavi.View"
xmlns:swc="http://schemas.staware.com/winfx/2008/xaml/controls"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:local1="clr-namespace:StaWare.Wpf.MasksBN.ViewModels.Person;as sembly=StaWare.Wpf.MasksBN"

xmlns:hc="clr-namespace:DevExpress.Mvvm.UI.Interactivity;assembl y=DevExpress.Xpf.Core.v20.1"

mc:Ignorable="d"
Title="PersonInfoTest" Height="500" Width="1000">



<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="65"/>
<RowDefinition/>
<RowDefinition/>

</Grid.RowDefinitions>

<StackPanel Grid.Row="0" >
<TextBox Width="250" Height="25" Margin="5" Text="{Binding Path=V_SEARCH , Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Background="#FFF3ECEC" Foreground="#FF080A07"/>
<Button Width="140" Margin="4" Content="Search Person" Command="{Binding SearchPersonCommand}">
<Button.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</Button.Background>
</Button>

</StackPanel>

<StackPanel Grid.Row="1" >
<DataGrid AutoGenerateColumns="True"

Height="200"
Margin="4"
RowHeaderWidth="30"
ColumnHeaderHeight="45"
ItemsSource="{Binding ListPersons}"


SelectedItem="{Binding Path=PersonID, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"


CanUserReorderColumns="False"
AlternatingRowBackground="#E6FCFCB8"
CanUserAddRows="False"
CanUserDeleteRows="False"
CanUserResizeRows="False"
SelectionMode="Single"
IsReadOnly="True" IsSynchronizedWithCurrentItem="False" BorderBrush="#FF082A4B">


<DataGrid.Resources>
<local1:BindingProxy x:Key="proxy" Data="{Binding}" />
</DataGrid.Resources>
<DataGrid.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="#FF93EAEA" Offset="1"/>
</LinearGradientBrush>
</DataGrid.Background>
<DataGrid.Columns>
<DataGridTextColumn Header="{Binding Data.HeaderText, Source={StaticResource proxy}}"/>
</DataGrid.Columns>

<hc:Interaction.Triggers>
<hc:EventTrigger EventName="SelectionChanged">
<hc:EventToCommand Command="{Binding SwitchItemCmd}" PassEventArgsToCommand="True"/>
</hc:EventTrigger>
</hc:Interaction.Triggers>


</DataGrid>

</StackPanel>

<StackPanel Grid.Row="2" >
<dxe:ListBoxEdit ItemsSource="{Binding DetailPesrson, ElementName=grid}"
DisplayMember="id"/>

</StackPanel>


</Grid>


</Window>

شما اومدی از تگ hc که من تو مثال استفاده میکردم استفاده کردی بعد اومدی تگ hc رو برای devexpress تعریف کردی!!! در صورتی که باید برای پکیج ناگت تعریف کنی
xmlns:hc="http://schemas.microsoft.com/xaml/behaviors"

مثال هاش رو ببینید
XamlBehaviorsWpf/samples/XAMLBehaviorsSample/XAMLBehaviorsSample at master · microsoft/XamlBehaviorsWpf (github.com)