XmlMappedRange.EntireRow Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém um Range que representa a linha que contém o controle XmlMappedRange.
public Microsoft.Office.Interop.Excel.Range EntireRow { get; }
Valor da propriedade
Um Range que representa a linha que contém o controle XmlMappedRange.
Exemplos
O exemplo de código a seguir usa as EntireColumn EntireRow Propriedades e para definir a cor da borda da coluna e da linha que contêm um XmlMappedRange para verde. Este exemplo de código pressupõe que a planilha atual contenha um XmlMappedRange chamado 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;
}
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