{description} {excerpt}Sets or returns a {msdn:System.Drawing.Color|System.Drawing.Color} object that represents the color of this border.{excerpt} {signature:C#} public System.Drawing.Color Color{ get; set; } {signature}{signature:vb.net} Public Property Color() As System.Drawing.Color {signature} {remarks}MS Word equivalent: Format menu > Borders and Shading... > Borders tab > Color: {remarks} {example}{code:csharp|title=C#} //--- Get Color System.Drawing.Color borderColor = brdr.Color; //--- Set Color brdr.Color = System.Drawing.Color.Blue; {code} {code:vbnet|title=vb.net} '--- Get Color Dim borderColor As System.Drawing.Color = brdr.Color '--- Set Color brdr.Color = System.Drawing.Color.Blue {code} {example} |