GrapeCity.Win.MultiRow.v80 アセンブリ > GrapeCity.Win.MultiRow 名前空間 : SplitStyle 構造体 |
Public Structure SplitStyle Inherits System.ValueType
public struct SplitStyle : System.ValueType
このクラスを使用して、分割線と分割ボタンの外観(色や幅など)をカスタマイズできます。
void changeSplitLineStyleButton_Click(object sender, EventArgs e) { SplitStyle splitStyle = this.gcMultiRow1.SplitStyle; if (this.gcMultiRow1.SplitStyle.BackColor == SystemColors.Control) { splitStyle.BackColor = Color.FromArgb(255, 215, 230, 247); splitStyle.DarkColor = Color.FromArgb(255, 104, 140, 175); splitStyle.LightColor = Color.FromArgb(255, 255, 255, 255); splitStyle.Width = 7; } else { splitStyle.BackColor = SystemColors.Control; splitStyle.DarkColor = SystemColors.ControlDark; splitStyle.LightColor = SystemColors.ControlLight; splitStyle.Width = 6; } this.gcMultiRow1.SplitStyle = splitStyle; }
Private Sub changeSplitLineStyleButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles changeSplitLineStyleButton.Click Dim splitStyle As SplitStyle = Me.gcMultiRow1.SplitStyle If Me.gcMultiRow1.SplitStyle.BackColor = SystemColors.Control Then splitStyle.BackColor = Color.FromArgb(255, 215, 230, 247) splitStyle.DarkColor = Color.FromArgb(255, 104, 140, 175) splitStyle.LightColor = Color.FromArgb(255, 255, 255, 255) splitStyle.Width = 7 Else splitStyle.BackColor = SystemColors.Control splitStyle.DarkColor = SystemColors.ControlDark splitStyle.LightColor = SystemColors.ControlLight splitStyle.Width = 6 End If Me.gcMultiRow1.SplitStyle = splitStyle End Sub
System.Object
System.ValueType
GrapeCity.Win.MultiRow.SplitStyle