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

Represents a layout column within a page layout, supporting responsive design and grid-based positioning.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class LayoutColumn : BaseContainer, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IMutableRendering

Inheritance: objectControlWebControlBaseContainerLayoutColumn

Derived Classes: CompositeLayoutColumn

Implements: IAttributeAccessorIComponentIControlBuilderAccessorIControlDesignerAccessorIDataBindingsAccessorIDisposableIExpressionsAccessorIMutableRenderingIParserAccessorIUrlResolutionService...

Inherited Members BaseContainer.SetOwner(RadPageLayout)BaseContainer.GetTransformationToggleClassNames()BaseContainer.OwnerBaseContainer.HtmlTagBaseContainer.TagKeyBaseContainer.TagNameBaseContainer.StaticIdBaseContainer.HiddenXsBaseContainer.HiddenSmBaseContainer.HiddenMdBaseContainer.HiddenLgBaseContainer.HiddenXlWebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderContents(HtmlTextWriter)WebControl.SaveViewState()WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.HeightWebControl.IsEnabledWebControl.SupportsDisabledAttributeWebControl.SkinIDWebControl.TabIndexWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind()Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.CreateChildControls()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.UniqueIDControl.HasChildViewStateControl.ControlsControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the LayoutColumn class with default values.

C#
public LayoutColumn()

Properties

Gets or sets the horizontal offset of the column in grid units.

C#
public int Offset { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the horizontal offset of the column in grid units.

C#
public int OffsetLg { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the horizontal offset of the column in grid units.

C#
public int OffsetMd { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the horizontal offset of the column in grid units.

C#
public int OffsetSm { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the horizontal offset of the column in grid units.

C#
public int OffsetXl { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the horizontal offset of the column in grid units.

C#
public int OffsetXs { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the negative visual horizontal offset of the column in grid units.

C#
public int Pull { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the negative visual horizontal offset of the column in grid units.

C#
public int PullLg { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the negative visual horizontal offset of the column in grid units.

C#
public int PullMd { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the negative visual horizontal offset of the column in grid units.

C#
public int PullSm { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the negative visual horizontal offset of the column in grid units.

C#
public int PullXl { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the negative visual horizontal offset of the column in grid units.

C#
public int PullXs { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the positive visual horizontal offset of the column in grid units.

C#
public int Push { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the positive visual horizontal offset of the column in grid units.

C#
public int PushLg { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the positive visual horizontal offset of the column in grid units.

C#
public int PushMd { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the positive visual horizontal offset of the column in grid units.

C#
public int PushSm { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the positive visual horizontal offset of the column in grid units.

C#
public int PushXl { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the positive visual horizontal offset of the column in grid units.

C#
public int PushXs { get; set; }

If the value is 0, no offset is set. Default value is 0.

Gets or sets the span (size or width) of the column in grid units.

C#
[PersistenceMode(PersistenceMode.Attribute)]
public int Span { get; set; }

Default value is 12.

Gets or sets the span of the column for large resolutions.

C#
public int SpanLg { get; set; }

If the value is 0, no span is set. Default value is 0.

Gets or sets the span of the column for medium resolutions.

C#
public int SpanMd { get; set; }

If the value is 0, no span is set. Default value is 0.

Gets or sets the span of the column for small resolutions.

C#
public int SpanSm { get; set; }

If the value is 0, no span is set. Default value is 0.

Gets or sets the span of the column for extra large resolutions.

C#
public int SpanXl { get; set; }

If the value is 0, no span is set. Default value is 0.

Gets or sets the span of the column for extra small resolutions.

C#
public int SpanXs { get; set; }

If the value is 0, no span is set. Default value is 0.

Methods

C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: BaseContainer.AddAttributesToRender(HtmlTextWriter)

Retrieves the CSS class names for the column's offset configuration.

C#
protected virtual List<string> GetOffsetClassNames()
Returns:

List<string>

A list of CSS class names.

C#
protected override List<string> GetTransformationClassNames()
Returns:

List<string>

Overrides: BaseContainer.GetTransformationClassNames()

C#
protected virtual List<string> GetTransformationOffsetClassNames()
Returns:

List<string>

C#
protected virtual List<string> GetTransformationReflowClassNames()
Returns:

List<string>

C#
public override void RenderBeginTag(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: BaseContainer.RenderBeginTag(HtmlTextWriter)

C#
public override void RenderEndTag(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: BaseContainer.RenderEndTag(HtmlTextWriter)