GrapeCity.Win.MultiRow Namespace > RoundedBorder Class : UseSmoothingLine Property |
<DefaultValueAttribute()> <EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Public Property UseSmoothingLine As Boolean
Dim instance As RoundedBorder Dim value As Boolean instance.UseSmoothingLine = value value = instance.UseSmoothingLine
[DefaultValue()] [EditorBrowsable(EditorBrowsableState.Advanced)] public bool UseSmoothingLine {get; set;}
RoundedBorder smoothingLineRoundedBorder = new RoundedBorder(LineStyle.Medium, Color.Blue, 0.3f); void setRoundedBorderUseSmoothingLine_Click(object sender, EventArgs e) { Template template1 = gcMultiRow1.Template; Row row = template1.Row; if (smoothingLineRoundedBorder.UseSmoothingLine == false) { //If UseSmoothingLine is true, the corner line has a good effect. smoothingLineRoundedBorder.UseSmoothingLine = true; } else { smoothingLineRoundedBorder.UseSmoothingLine = false; } row.Cells[0].Style.Border = smoothingLineRoundedBorder; // Reload template1. this.gcMultiRow1.Template = template1; }
Private smoothingLineRoundedBorder As New RoundedBorder(LineStyle.Medium, Color.Blue, 0.3F) Private Sub setRoundedBorderUseSmoothingLine_Click(ByVal sender As Object, ByVal e As EventArgs) Handles setRoundedBorderUseSmoothingLine.Click Dim template1 As Template = gcMultiRow1.Template Dim row As Row = template1.Row If smoothingLineRoundedBorder.UseSmoothingLine = False Then 'If UseSmoothingLine is true, the corner line has a good effect. smoothingLineRoundedBorder.UseSmoothingLine = True Else smoothingLineRoundedBorder.UseSmoothingLine = False End If row.Cells(0).Style.Border = smoothingLineRoundedBorder ' Reload template1. Me.gcMultiRow1.Template = template1 End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2