我有一个列是
[C#] 纯文本查看 复制代码 <dxg:GridColumn
FieldName="Id"
Header="Id2"
HorizontalHeaderContentAlignment="Center">
<dxg:GridColumn.EditSettings>
<dxg:LookUpEditSettings
x:Name="lookUp1"
AllowCollectionView="True"
AllowSpinOnMouseWheel="False"
AutoComplete="True"
AutoPopulateColumns="False"
DisplayMember="LastName"
ImmediatePopup="True"
IncrementalFiltering="True"
IsPopupAutoWidth="False"
IsTextEditable="False"
ItemsSource="{Binding DisplayEmployes, RelativeSource={RelativeSource AncestorType=dx:ThemedWindow}}"
PopupWidth="380"
ValueMember="Id">
<dxg:LookUpEditSettings.PopupContentTemplate>
<ControlTemplate>
<dxg:GridControl Name="PART_GridControl" CurrentItemChanged="PART_GridControl_CurrentItemChanged">
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="Id" Header="Id" />
<dxg:GridColumn FieldName="LastName" Header="LastName" />
<dxg:GridColumn FieldName="FirstName" />
<dxg:GridColumn FieldName="Salary" />
</dxg:GridControl.Columns>
<dxg:GridControl.View>
<dxg:TableView AutoWidth="True" />
</dxg:GridControl.View>
</dxg:GridControl>
</ControlTemplate>
</dxg:LookUpEditSettings.PopupContentTemplate>
<dxg:LookUpEditSettings.StyleSettings>
<dxg:SearchLookUpEditStyleSettings />
</dxg:LookUpEditSettings.StyleSettings>
</dxg:LookUpEditSettings>
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
这样,但是我还有其它的列是会显示 FirstName,Salary 的信息,我想在滚动时获取并设置,但我找不到对应的事件,请问我要怎么做?
|