DataGridCellItemAutomationPeer.IValueProvider.SetValue Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

value
Type: System.String

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

Exception Condition
InvalidOperationException

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
Show: