The requested page is not available for the requested platform. You are viewing the content for Default platform.

Predefined Format Names

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

This document lists all available predefined formats that you can use when specifying conditional formatting rules to be applied in the GridControl. To set one of the predefined formats, assign the corresponding string to the FormatConditionBase.PredefinedFormatName property of an object that represents a conditional formatting rule (for example, DataBarFormatCondition, IconSetFormatCondition, TopBottomRuleFormatCondition, etc.)

Predefined Standard Formats

"LightRedFillWithDarkRedText"

"YellowFillWithDarkYellowText"

"GreenFillWithDarkGreenText"

"LightRedFill"

"LightGreenFill"

"RedText"

"GreenText"

"BoldText"

"ItalicText"

"StrikethroughText"

Predefined Color Scale Formats

"GreenYellowRedColorScale"

"RedYellowGreenColorScale"

"GreenWhiteRedColorScale"

"RedWhiteGreenColorScale"

"BlueWhiteRedColorScale"

"RedWhiteBlueColorScale"

"WhiteRedColorScale"

"RedWhiteColorScale"

"GreenWhiteColorScale"

"WhiteGreenColorScale"

"GreenYellowColorScale"

"YellowGreenColorScale"

Predefined Data Bar Formats

  • Solid

    "BlueSolidDataBar"

    "GreenSolidDataBar"

    "RedSolidDataBar"

    "OrangeSolidDataBar"

    "LightBlueSolidDataBar"

    "PurpleSolidDataBar"

  • Gradient

    "BlueGradientDataBar"

    "GreenGradientDataBar"

    "RedGradientDataBar"

    "OrangeGradientDataBar"

    "LightBlueGradientDataBar"

    "PurpleGradientDataBar"

Predefined Icon Set Formats

"Arrows3ColoredIconSet"

"Arrows3GrayIconSet"

"Arrows4ColoredIconSet"

"Arrows4GrayIconSet"

"Arrows5ColoredIconSet"

"Arrows5GrayIconSet"

"Triangles3IconSet"

"TrafficLights3UnrimmedIconSet"

"TrafficLights3RimmedIconSet"

"Signs3IconSet"

"TrafficLights4IconSet"

"RedToBlackIconSet"

"Symbols3CircledIconSet"

"Symbols3UncircledIconSet"

"Flags3IconSet"

"Stars3IconSet"

"Ratings4IconSet"

"Quarters5IconSet"

"Ratings5IconSet"

"Boxes5IconSet"

See Also