Aracılığıyla paylaş


XmlMappedRange.EntireRow Özellik

Alır bir Range içeren satırı temsil eden XmlMappedRange Denetim.

Ad alanı:  Microsoft.Office.Tools.Excel
Derleme:  Microsoft.Office.Tools.Excel (Microsoft.Office.Tools.Excel.dll içinde)

Sözdizimi

'Bildirim
ReadOnly Property EntireRow As Range
    Get
Range EntireRow { get; }

Özellik Değeri

Tür: Microsoft.Office.Interop.Excel.Range
A Range içeren satırı temsil eden XmlMappedRange Denetim.

Örnekler

Aşağıdaki kod örneği EntireColumn ve EntireRow , satır ve sütun kenarlığı rengini ayarlamak için özellikler içeren bir XmlMappedRange Yeşil. Bu kod örneği, geçerli çalışma sayfasının içerdiğini varsayar bir XmlMappedRange adlı CustomerLastNameCell.

Private Sub HighlightColumnAndRow()
    ' Set the color of the column and row borders to the 
    ' RGB value for green.
    Me.CustomerLastNameCell.EntireColumn.Borders.Color = &HFF00
    Me.CustomerLastNameCell.EntireRow.Borders.Color = &HFF00
End Sub
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;
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

XmlMappedRange Arabirim

Microsoft.Office.Tools.Excel Ad Alanı