New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents the style for the RadGrid items panel control and some Web Parts.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridPanelItemsStyle : TableStyle, IComponent, IDisposable, IStateManager

Inheritance: objectMarshalByRefObjectComponentStyleTableStyleGridPanelItemsStyle...

Implements: IComponentIDisposableIStateManager

Inherited Members TableStyle.AddAttributesToRender(HtmlTextWriter, WebControl)TableStyle.CopyFrom(Style)TableStyle.FillStyleAttributes(CssStyleCollection, IUrlResolutionService)TableStyle.MergeWith(Style)TableStyle.Reset()TableStyle.BackImageUrlTableStyle.CellSpacingTableStyle.GridLinesTableStyle.HorizontalAlignStyle.AddAttributesToRender(HtmlTextWriter)Style.GetStyleAttributes(IUrlResolutionService)Style.LoadViewState(object)Style.TrackViewState()Style.SaveViewState()Style.SetBit(int)Style.SetDirty()Style.BackColorStyle.BorderColorStyle.BorderWidthStyle.BorderStyleStyle.CssClassStyle.FontStyle.ForeColorStyle.HeightStyle.IsEmptyStyle.IsTrackingViewStateStyle.RegisteredCssClassStyle.ViewStateStyle.WidthComponent.Dispose()Component.Dispose(bool)Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridPanelItemsStyle()

Properties

Gets or sets the amount of space between the contents of the cell and the cell's border.

C#
[Bindable(true)]
public override int CellPadding { get; set; }
Property Value:

The distance (in pixels) between the contents of a cell and the cell's border. The default is -1, which indicates that this property is not set.

Exceptions: ArgumentOutOfRangeException

The specified distance is set to a value less than -1.

Overrides: TableStyle.CellPadding

Gets a value determining if the style is empty.

C#
[Browsable(false)]
public bool IsDefault { get; }