XmlMappedRange.EntireColumn Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient un Range qui représente toute la colonne contenant le contrôle XmlMappedRange.
public Microsoft.Office.Interop.Excel.Range EntireColumn { get; }
Valeur de propriété
Range qui représente toute la colonne contenant le contrôle XmlMappedRange.
Exemples
L’exemple de code suivant utilise EntireColumn les EntireRow Propriétés et pour définir la couleur de bordure de la colonne et de la ligne qui contiennent un XmlMappedRange en vert. Cet exemple de code suppose que la feuille de calcul active contient un XmlMappedRange nommé 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