TextColor Property (GridStyleInfo)
Gets or sets the color for drawing the cell text.
Syntax
'Declaration <BrowsableAttribute(True)> <DescriptionAttribute("Contains text color of a cell.")> <SRCategoryAttribute("StyleCategoryAppearance")> <NotifyParentPropertyAttribute(True)> Public Property TextColor As Color
'Usage Dim instance As GridStyleInfo Dim value As Color instance.TextColor = value value = instance.TextColor
[Browsable(true)] [Description("Contains text color of a cell.")] [SRCategory("StyleCategoryAppearance")] [NotifyParentProperty(true)] public Color TextColor {get; set;}
Remarks
The default value for the TextColor property is SystemColors.WindowText.
The property affects the behavior or appearance of the following cell types:
CheckBox (GridCheckBoxCellRenderer) ComboBox (GridComboBoxCellRenderer) DataBoundRowHeader (GridDataBoundRowHeaderCellRenderer) DropDown (GridDropDownCellRenderer) DropDownColorUI (GridDropDownColorUICellRenderer) DropDownGrid (GridDropDownGridCellRenderer) DropDownGridListControl (GridDropDownGridListControlCellRenderer) DropDownMonthCalendar (GridDropDownMonthCalendarCellRenderer) Header (GridHeaderCellRenderer) NumericUpDown (GridNumericUpDownCellRenderer) SortColumnHeader (GridSortColumnHeaderCellRenderer) Static (GridStaticCellRenderer) TextBox (GridTextBoxCellRenderer)
AssemblyVersion
Syncfusion.Grid.Windows: 17.3460.0.26
See Also