Version

Manual Refresh of the Control’s UI (xamDataGrid)

Topic Overview

Purpose

This topic explains how to perform a manual refresh on the control’s user interface.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This is a group of topics providing an overview of the xamDataPresenter control.

This topic introduces the xamDataGrid control and various elements, on which control is composed.

In this topic

This topic contains the following sections:

Refreshing Cell Values

Feature summary

If the data presenter control is bound to a collection which does not raise property change notifications for its data items, e.g. if the collection does not implement the IBindingList interface or the data items do not implement the INotifyPropertyChanged interface you may need to manually refresh the user interface after changes to a data item’s properties are made.

Methods summary

The following table explains briefly what refresh tasks can be performed by the controls.

Task Details Method

Refresh a single cell when you have a reference to it.

You can refresh a single cell by invoking a method on the Cell class.

Refresh a single cell when you have a reference to the related field.

You can refresh a single cell by invoking a method on the DataRecord class and provide the related Field as argument.

Refresh all cells in a record.

You can refresh all cells related to a record by invoking a method on the DataRecord class.

Related Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to access the control’s records.

This topic explains the difference between DataItems and DataRecords.