728x90
FormatConditionRuleDataBar formatConditionRuleDataBar = new FormatConditionRuleDataBar();
formatConditionRuleDataBar.PredefinedName = "Blue Gradient"; // 디폴트는 "Blue Solid"
formatConditionRuleDataBar.MinimumType = FormatConditionValueType.Number;
formatConditionRuleDataBar.Minimum = -100;
formatConditionRuleDataBar.MaximumType = FormatConditionValueType.Number;
formatConditionRuleDataBar.Maximum = 100;
gridFormatRule.Rule = formatConditionRuleDataBar;
gridFormatRule.Column = gv.Columns["i"];
gv.FormatRules.Add(gridFormatRule);
728x90
반응형
'Software > C#' 카테고리의 다른 글
C# DevExpress - WinForm GridControl ImageCombo (0) | 2025.01.27 |
---|---|
C# DevExpress - WinForm GridControl ComboBox (0) | 2025.01.27 |
C# 시작하기 - 날짜형 변환 (0) | 2025.01.21 |
C# DevExpress - WinForm GridControl Header 90회전 (1) | 2025.01.20 |
C# 시작하기 - Namespace : System (0) | 2025.01.11 |