DataGridAutomationPeer.IGridProvider.ColumnCount Property

 

Gets the total number of columns in a grid.

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

int IGridProvider.ColumnCount { get; }

Property Value

Type: System.Int32

The total number of columns in a grid.

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

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: