Used with Direction = BorderDirEnum.BothDifferent only. Customize Color property for other cases.
Makes sence for Style set to BorderStyleEnum.Flat, BorderStyleEnum.Double or BorderStyleEnum.Dotted only. 3D borders are always drawn using the system colors defined for highlights and shadows.
VerticalColor value will be ignored.
Set wide green bottom border and thin gray side border for selected column header cells.
var flexGrid = new C1.Win.FlexGrid.C1FlexGrid(); c1FlexGrid1.Styles.SelectedColumnHeader.Border.Direction = BorderDirEnum.BothDifferent; c1FlexGrid1.Styles.SelectedColumnHeader.Border.VerticalColor = Color.Gray;
var flexGrid = new C1.Win.FlexGrid.C1FlexGrid(); c1FlexGrid1.Styles.SelectedColumnHeader.Border.Direction = BorderDirEnum.Both; c1FlexGrid1.Styles.SelectedColumnHeader.Border.VerticalColor = Color.Gray;
var flexGrid = new C1.Win.FlexGrid.C1FlexGrid(); c1FlexGrid1.Styles.SelectedColumnHeader.Border.Direction = BorderDirEnum.BothDifferent; c1FlexGrid1.Styles.SelectedColumnHeader.Border.VerticalWidth = 1; c1FlexGrid1.Styles.SelectedColumnHeader.Border.HorizontalWidth = 3; c1FlexGrid1.Styles.SelectedColumnHeader.Border.HorizontalColor = Color.Green; c1FlexGrid1.Styles.SelectedColumnHeader.Border.VerticalColor = Color.Gray;