protected HeaderStateStyle CalculateStyle(OLVColumn column, bool isHot, bool isPressed) { HeaderFormatStyle headerStyle = column.HeaderFormatStyle ?? this.ListView.HeaderFormatStyle ?? new HeaderFormatStyle(); if (this.ListView.IsDesignMode) return headerStyle.Normal; if (isPressed) return headerStyle.Pressed; if (isHot) return headerStyle.Hot; return headerStyle.Normal; }