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
2915
Binding XamDataGrid UnboundField Visibility
posted

Hi,

   I am trying to bind a unbound column to a visibility property in the MVVM format, looks like it doesn't work. Can I not bind the  visibility of the unbound field?

<igDP:XamDataGrid.FieldLayouts>

<igDP:FieldLayout>

<igDP:FieldLayout.Fields>
<igDP:UnboundField Name="View" Visibility="{Binding ViewVisible}">
<igDP:UnboundField.Settings>
<igDP:FieldSettings AllowResize="False" AllowGroupBy="False" AllowRecordFiltering="False" AllowSummaries="False" LabelTextAlignment="Center"
Width="75" CellValuePresenterStyle="{StaticResource CellButtonStyle}"/>
</igDP:UnboundField.Settings>
</igDP:UnboundField>
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>