DataGridCellItemAutomationPeer.IValueProvider.SetValue Method (String)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Sets the value of a control.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

void IValueProvider.SetValue(
	string value


Type: System.String

The value to set. The provider is responsible for converting the value to the appropriate data type.

Exception Condition

The DataGridCell object that is associated with this DataGridCellItemAutomationPeer object is read-only.

This member is an explicit interface member implementation. It can be used only when the DataGridCellItemAutomationPeer instance is cast to an IValueProvider interface.

.NET Framework
Available since 4.0
Return to top