Export (0) Print
Expand All

DataGridCheckBoxColumn.RefreshCellContent Method

Refreshes the contents of a cell in the column in response to a column property value change.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

protected internal override void RefreshCellContent(
	FrameworkElement element,
	string propertyName
)

Parameters

element
Type: System.Windows.FrameworkElement
The CheckBox returned by the Content property of the cell to update.
propertyName
Type: System.String
The name of the column property that has changed.

ExceptionCondition
ArgumentNullException

element is null.

ArgumentException

element is not a CheckBox.

This method is called one time for each cell when the IsThreeState property changes value. This method propagates the change to the CheckBox in the specified cell by updating its IsThreeState property.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft