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
Property descriptor for the second color used by the custom cell fill.
public static RadProperty BackColor2Property
Property descriptor for the third color used by the custom cell fill.
public static RadProperty BackColor3Property
Property descriptor for the fourth color used by the custom cell fill.
public static RadProperty BackColor4Property
Property descriptor for the first color used by the custom cell fill.
public static RadProperty BackColorProperty
Property descriptor for the custom cell border's bottom-edge color.
public static RadProperty BorderBottomColorProperty
Property descriptor for the width of the custom cell border's bottom edge.
public static RadProperty BorderBottomWidthProperty
Property descriptor for the box style used to draw the custom cell border.
public static RadProperty BorderBoxStyleProperty
Property descriptor for the second color used by the custom cell border.
public static RadProperty BorderColor2Property
Property descriptor for the third color used by the custom cell border.
public static RadProperty BorderColor3Property
Property descriptor for the fourth color used by the custom cell border.
public static RadProperty BorderColor4Property
Property descriptor for the first color used by the custom cell border.
public static RadProperty BorderColorProperty
Property descriptor for the angle of the custom cell border gradient.
public static RadProperty BorderGradientAngleProperty
Property descriptor for the gradient mode used by the custom cell border.
public static RadProperty BorderGradientStyleProperty
Property descriptor for the second color used by the custom cell's inner border.
public static RadProperty BorderInnerColor2Property
Property descriptor for the third color used by the custom cell's inner border.
public static RadProperty BorderInnerColor3Property
Property descriptor for the fourth color used by the custom cell's inner border.
public static RadProperty BorderInnerColor4Property
Property descriptor for the first color used by the custom cell's inner border.
public static RadProperty BorderInnerColorProperty
Property descriptor for the custom cell border's left-edge color.
public static RadProperty BorderLeftColorProperty
Property descriptor for the width of the custom cell border's left edge.
public static RadProperty BorderLeftWidthProperty
Property descriptor for the custom cell border's right-edge color.
public static RadProperty BorderRightColorProperty
Property descriptor for the width of the custom cell border's right edge.
public static RadProperty BorderRightWidthProperty
Property descriptor for the custom cell border's top-edge color.
public static RadProperty BorderTopColorProperty
Property descriptor for the width of the custom cell border's top edge.
public static RadProperty BorderTopWidthProperty
Property descriptor for the overall width of the custom cell border.
public static RadProperty BorderWidthProperty
Property descriptor for the flag that enables this style's border settings on the cell.
public static RadProperty CustomizeBorderProperty
Property descriptor for the flag that enables this style's fill settings on the cell.
public static RadProperty CustomizeFillProperty
Property descriptor for whether the custom cell border is drawn when border customization is enabled.
public static RadProperty DrawBorderProperty
Property descriptor for whether the custom cell fill is drawn when fill customization is enabled.
public static RadProperty DrawFillProperty
Property descriptor for a cell-specific font; the cell element applies it only when set locally.
public static RadProperty FontProperty
Property descriptor for the foreground color applied to a cell with this style.
public static RadProperty ForeColorProperty
Property descriptor for the angle of the custom cell fill gradient.
public static RadProperty GradientAngleProperty
Property descriptor for the second transition percentage used by the custom cell fill.
public static RadProperty GradientPercentage2Property
Property descriptor for the first transition percentage used by the custom cell fill.
public static RadProperty GradientPercentageProperty
Property descriptor for the gradient mode used by the custom cell fill.
public static RadProperty GradientStyleProperty
Property descriptor for the number of colors used by the custom cell fill.
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
Persists a changed style property to the owning cell and invalidates its row.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change notification.
Overrides:
Reset cell's style to its initial state.
public void Reset()