XmlMappedRange.EntireRow Özellik
Alır bir Range temsil eden içeren satırı 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
Range EntireRow { get; }
Özellik Değeri
Tür: Microsoft.Office.Interop.Excel.Range
A Range temsil eden içeren satırı XmlMappedRange denetim.
Örnekler
Aşağıdaki kod örneğinde 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
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.