Export (0) Print
Expand All
Expand Minimize

XmlMappedRange.EntireRow Property

Gets a Range that represents the row that contains the XmlMappedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Range EntireRow { get; }

Property Value

Type: Range
A Range that represents the row that contains the XmlMappedRange control.

The following code example uses the EntireColumn and EntireRow properties to set the border color of the column and row that contain an XmlMappedRange to green. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.

private void HighlightColumnAndRow()
{
    // Set the color of the column and row borders to the RGB value for green. 
    this.CustomerLastNameCell.EntireColumn.Borders.Color = 0xFF00;
    this.CustomerLastNameCell.EntireRow.Borders.Color = 0xFF00;
}

Show:
© 2015 Microsoft