Visual Basic (Declaration) | |
---|---|
Public Property Color As Color |
C# | |
---|---|
public Color Color {get; set;} |
Property Value
System.Drawing.Color.C# | Copy Code |
---|---|
Private void GroupHeader1_Format(object sender, System.EventArgs eArgs) { this.txtShipCountry.Border.Color = System.Drawing.Color.Purple; } |
Visual Basic | Copy Code |
---|---|
Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format Me.txtShipCountry.Border.Color = System.Drawing.Color.Purple End Sub |