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
85
Binding the Tag Property on a Field to Another Field
posted

I'm attempting to bind the Tag property on the SeverityString below to the value of the QualityCodeToolTip field below it. I've attempted to do this with

relative pathting, but I have not found the proper ancestor and path. Please take a look at the relative path on the Tag attribute for

SeverityString below and provide the proper syntax to map to the QualityCodeToolTip field below it. If you have a suggestion of a better way to accomplish this mapping,

that would be great too. Thanks in advance for your help on this.

Patrick

<igDP:FieldLayout Key="SelectedObjects">

<igDP:FieldLayout.FieldSettings>

<igDP:FieldSettings LabelClickAction="SortByOneFieldOnly" />

</igDP:FieldLayout.FieldSettings>

<igDP:FieldLayout.Fields>

</igDP:Field>

<igDP:Field Name="SeverityString" Label="" igDP:XamDataGrid.FieldLayouts

 

Tag="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type igDP:FieldLayout}}, Path

=FieldLayout.QualityCodeToolTip.Value}">

 

 

<igDP:Field.Settings>

<igDP:FieldSettings CellValuePresenterStyle="{StaticResource QualityCodeToolTipStyle

 

}"/>

</igDP:Field.Settings>

</igDP:Field>

<igDP:Field Name="QualityCodeToolTip" Label="">

<igDP:Field.Settings>

<igDP:FieldSettings CellValuePresenterStyle="{StaticResource QualityCodeToolTipStyle

 

}"/>

</igDP:Field.Settings>

</igDP:Field>