DataGridColumnHeaderItemAutomationPeer.ITransformProvider.Resize Method (Double, Double)

.NET Framework (current version)
 

Resizes the width of the column that is associated with the DataGridColumnHeaderItemAutomationPeer.

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

void ITransformProvider.Resize(
	double width,
	double height
)

Parameters

width
Type: System.Double

The new width of the column, in pixels.

height
Type: System.Double

This parameter is not used.

Exception Condition
InvalidOperationException

The column that is associated with this DataGridColumnHeaderItemAutomationPeer cannot be resized.

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

.NET Framework
Available since 4.0
Return to top
Show: