GridViewCellStyle
Represents the style of a grid cell.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCellStyle : RadObject, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectGridViewCellStyle
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewCellStyle class.
public GridViewCellStyle()
Initializes a new instance of the GridViewCellStyle class.
public GridViewCellStyle(GridViewCellInfo ownerCell)
The owner cell.
Fields
public static RadProperty BackColor2Property
public static RadProperty BackColor3Property
public static RadProperty BackColor4Property
public static RadProperty BackColorProperty
public static RadProperty BorderBottomColorProperty
public static RadProperty BorderBottomWidthProperty
public static RadProperty BorderBoxStyleProperty
public static RadProperty BorderColor2Property
public static RadProperty BorderColor3Property
public static RadProperty BorderColor4Property
public static RadProperty BorderColorProperty
public static RadProperty BorderGradientAngleProperty
public static RadProperty BorderGradientStyleProperty
public static RadProperty BorderInnerColor2Property
public static RadProperty BorderInnerColor3Property
public static RadProperty BorderInnerColor4Property
public static RadProperty BorderInnerColorProperty
public static RadProperty BorderLeftColorProperty
public static RadProperty BorderLeftWidthProperty
public static RadProperty BorderRightColorProperty
public static RadProperty BorderRightWidthProperty
public static RadProperty BorderTopColorProperty
public static RadProperty BorderTopWidthProperty
public static RadProperty BorderWidthProperty
public static RadProperty CustomizeBorderProperty
public static RadProperty CustomizeFillProperty
public static RadProperty DrawBorderProperty
public static RadProperty DrawFillProperty
public static RadProperty FontProperty
public static RadProperty ForeColorProperty
public static RadProperty GradientAngleProperty
public static RadProperty GradientPercentage2Property
public static RadProperty GradientPercentageProperty
public static RadProperty GradientStyleProperty
public static RadProperty NumberOfColorsProperty
Properties
Gets or sets the color of the back.
public Color BackColor { get; set; }
The color of the back.
Gets or sets the back color2.
public Color BackColor2 { get; set; }
The back color2.
Gets or sets the back color3.
public Color BackColor3 { get; set; }
The back color3.
Gets or sets the back color4.
public Color BackColor4 { get; set; }
The back color4.
Gets or sets the color of the bottom border.
public Color BorderBottomColor { get; set; }
The color of the border bottom.
Gets or sets the width of the bottom border.
public float BorderBottomWidth { get; set; }
The width of the border bottom.
Gets or sets the border box style.
public BorderBoxStyle BorderBoxStyle { get; set; }
The border box style.
Gets or sets the color of the border.
public Color BorderColor { get; set; }
The color of the border.
Gets or sets the border color2.
public Color BorderColor2 { get; set; }
The border color2.
Gets or sets the border color3.
public Color BorderColor3 { get; set; }
The border color3.
Gets or sets the border color4.
public Color BorderColor4 { get; set; }
The border color4.
Gets or sets the border gradient angle.
public float BorderGradientAngle { get; set; }
The border gradient angle.
Gets or sets the border gradient style.
public GradientStyles BorderGradientStyle { get; set; }
The border gradient style.
Gets or sets the color of the inner border.
public Color BorderInnerColor { get; set; }
The color of the inner border.
Gets or sets the border inner color2.
public Color BorderInnerColor2 { get; set; }
The border inner color2.
Gets or sets the border inner color3.
public Color BorderInnerColor3 { get; set; }
The border inner color3.
Gets or sets the border inner color4.
public Color BorderInnerColor4 { get; set; }
The border inner color4.
Gets or sets the color of the left border.
public Color BorderLeftColor { get; set; }
The color of the border left.
Gets or sets the width of the left border.
public float BorderLeftWidth { get; set; }
The width of the left border.
Gets or sets the color of the right border.
public Color BorderRightColor { get; set; }
The color of the border right.
Gets or sets the width of the right border.
public float BorderRightWidth { get; set; }
The width of the border right.
Gets or sets the color of the top border.
public Color BorderTopColor { get; set; }
The color of the border top.
Gets or sets the width of the top border.
public float BorderTopWidth { get; set; }
The width of the top border.
Gets or sets the width of the border.
public float BorderWidth { get; set; }
The width of the border.
Gets or sets whether to customize the border.
public bool CustomizeBorder { get; set; }
The customize border.
Gets or sets whether to customize the fill.
public bool CustomizeFill { get; set; }
The customize fill.
Gets or sets whether to draw the border.
public bool DrawBorder { get; set; }
The draw border.
Gets or sets whether to draw the fill.
public bool DrawFill { get; set; }
The draw fill.
Gets or sets the color of the fore.
public Color ForeColor { get; set; }
The color of the fore.
Gets or sets the gradient angle.
public float GradientAngle { get; set; }
The gradient angle.
Gets or sets the gradient percentage.
public float GradientPercentage { get; set; }
The gradient percentage.
Gets or sets the gradient percentage2.
public float GradientPercentage2 { get; set; }
The gradient percentage2.
Gets or sets the gradient style.
public GradientStyles GradientStyle { get; set; }
The gradient style.
Gets or sets the number of colors.
public int NumberOfColors { get; set; }
The number of colors.
Methods
Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs containing information about the property change.
Overrides:
Reset cell's style to its initial state.
public void Reset()