GrapeCity.Win.MultiRow.v80 アセンブリ > GrapeCity.Win.MultiRow 名前空間 : ThreeDBorder クラス |
Public NotInheritable Class ThreeDBorder Inherits BorderBase
public sealed class ThreeDBorder : BorderBase
void setThreeDBorderToRow_Click(object sender, EventArgs e) { Template template1 = gcMultiRow1.Template; Row row = template1.Row; if (row.Border is ThreeDBorder) { row.Border = Border.Empty; } else { //Using this constructor can set the outline ThreeDBorder ThreeDBorder threeDBorder1 = new ThreeDBorder(Color.Gray, Color.DarkGray, Color.White, Color.LightGray); threeDBorder1.ThreeDEffect = ThreeDEffect.Raised; //Set ThreeDBorder to Row. row.Border = threeDBorder1; } // Reload template1. this.gcMultiRow1.Template = template1; }
Private Sub setThreeDBorderToRow_Click(ByVal sender As Object, ByVal e As EventArgs) Handles setThreeDBorderToRow.Click Dim template1 As Template = gcMultiRow1.Template Dim row As Row = template1.Row If TypeOf row.Border Is ThreeDBorder Then row.Border = Border.Empty Else 'Using this constructor can set the outline ThreeDBorder Dim threeDBorder1 As New ThreeDBorder(Color.Gray, Color.DarkGray, Color.White, Color.LightGray) threeDBorder1.ThreeDEffect = ThreeDEffect.Raised 'Set ThreeDBorder to Row. row.Border = threeDBorder1 End If ' Reload template1. Me.gcMultiRow1.Template = template1 End Sub
System.Object
GrapeCity.Win.MultiRow.BorderBase
GrapeCity.Win.MultiRow.ThreeDBorder