Export (0) Print
Expand All

IGridItemProvider.ColumnSpan Property

Gets the number of columns spanned by a cell or item.

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

int ColumnSpan { get; }

Property Value

Type: System.Int32
The number of columns spanned.

The following example code returns the property for an item in a grid whose items always span a single column.

int IGridItemProvider.RowSpan
        return 1; 

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft