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
{
    get 
    { 
        return 1; 
    }
}

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: