Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
XamMultiColumnComboEditor - MultiBinding in a TextComboColumn
posted

Is it possible to do at MultiBinding of the value in a TextComboColumn of a XamMultiColumnComboEditor?

I have a multibinding that I use in cells in a XamDataGrid and I would want to use this same binding in a TextComboColumn in XamMultiColumnComboEditor. Would that be possible? - and how then to do it? 

			<igDp:UnboundField x:Name="xxDyrkningsNr" BindingMode="OneWay">
				<igDp:Field.Settings>
					<igDp:FieldSettings EditAsType="{x:Type sys:String}" AllowEdit="False">
						<igDp:FieldSettings.EditorStyle>
							<Style TargetType="{x:Type igEditors:XamTextEditor}">
								<Setter Property="Value" >
									<Setter.Value>
										<MultiBinding Converter="{StaticResource ResourceKey=GeneticsNumbersToIDConverter}">
											<Binding Path="DataContext.CurrentRequisition.RekvisitionsNr" ElementName="MyDataGrid"/>
											<Binding Path="DataContext.SelectedRekvisitionProeveMaterialeDto.ProeveMateriale.MaterialeNr" ElementName="MyDataGrid"/>
											<Binding Path="DataItem.DyrkningsNr"/>
										</MultiBinding>
									</Setter.Value>
								</Setter>
							</Style>
						</igDp:FieldSettings.EditorStyle>
					</igDp:FieldSettings>
				</igDp:Field.Settings>
			</igDp:UnboundField>