DataGridCheckBoxColumn.RefreshCellContent Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Protected Friend Overrides Sub RefreshCellContent ( _
element As FrameworkElement, _
propertyName As String _
)
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | element is nulla null reference (Nothing in Visual Basic). |
ArgumentException | element is not a CheckBox. |
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.