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