skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadLayoutControl

A container control which keeps its child controls arranged in a consistent way and scales their layout as the control size changes. Allows runtime customization and serializing the layout.

Inheritance
System.Object
RadControl
RadNonClientUIControl
RadNCEnabledControl
RadLayoutControl
Inherited Members
RadNCEnabledControl.WndProc(Message)
RadNCEnabledControl.WmNCHitTest(Message)
RadNCEnabledControl.IconCaptionElement
RadNCEnabledControl.MinimizeButtonElement
RadNCEnabledControl.MaximizeButtonElement
RadNCEnabledControl.HelpButtonElement
RadNCEnabledControl.SystemButtonsElement
RadNCEnabledControl.TextCaptionElement
RadControl.isResizing2
RadControl.isDisposing2
RadControl.invalidResizeRect
RadControl.isAccessibilityRequested
RadControl.Construct()
RadControl.CreateBehavior()
RadControl.CreateRootElement()
RadControl.InitializeRootElement(RootRadElement)
RadControl.LoadElementTree()
RadControl.LoadElementTree(Size)
RadControl.SetIsInitializing(Boolean)
RadControl.ShouldSerializeBackColor()
RadControl.ShouldSerializeForeColor()
RadControl.ShouldSerializeFont()
RadControl.OnKeyDown(KeyEventArgs)
RadControl.OnKeyUp(KeyEventArgs)
RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.OnKeyPress(KeyPressEventArgs)
RadControl.OnClick(EventArgs)
RadControl.OnDoubleClick(EventArgs)
RadControl.OnMouseEnter(EventArgs)
RadControl.OnMouseLeave(EventArgs)
RadControl.OnMouseHover(EventArgs)
RadControl.OnMouseCaptureChanged(EventArgs)
RadControl.OnGotFocus(EventArgs)
RadControl.OnLostFocus(EventArgs)
RadControl.OnCreateControl()
RadControl.OnParentChanged(EventArgs)
RadControl.OnVisibleChanged(EventArgs)
RadControl.OnFontChanged(EventArgs)
RadControl.OnForeColorChanged(EventArgs)
RadControl.OnBackColorChanged(EventArgs)
RadControl.OnEnabledChanged(EventArgs)
RadControl.OnBindingContextChanged(EventArgs)
RadControl.OnLocationChanged(EventArgs)
RadControl.OnPaddingChanged(EventArgs)
RadControl.OnRightToLeftChanged(EventArgs)
RadControl.OnAutoSizeChanged(EventArgs)
RadControl.OnInvalidated(RadElement)
RadControl.OnCaptureLosing()
RadControl.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.ProcessMnemonic(Char)
RadControl.ProcessFocusRequested(RadElement)
RadControl.ProcessCaptureChangeRequested(RadElement, Boolean)
RadControl.ProcessAutoSizeChanged(Boolean)
RadControl.CallOnMouseCaptureChanged(EventArgs)
RadControl.CallBaseOnGotFocus(EventArgs)
RadControl.CallBaseOnLostFocus(EventArgs)
RadControl.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.CallOnMouseUp(MouseEventArgs)
RadControl.CallOnMouseDown(MouseEventArgs)
RadControl.CallOnClick(EventArgs)
RadControl.CallOnDoubleClick(EventArgs)
RadControl.CallOnMouseEnter(EventArgs)
RadControl.CallOnMouseWheel(MouseEventArgs)
RadControl.CallOnMouseLeave(EventArgs)
RadControl.CallOnMouseMove(MouseEventArgs)
RadControl.CallOnMouseHover(EventArgs)
RadControl.CallOnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.CallBaseOnKeyDown(KeyEventArgs)
RadControl.CallOnKeyDown(KeyEventArgs)
RadControl.CallBaseOnKeyPress(KeyPressEventArgs)
RadControl.CallOnKeyPress(KeyPressEventArgs)
RadControl.IsInputKey(Keys)
RadControl.GetInputElement()
RadControl.CallBaseOnKeyUp(KeyEventArgs)
RadControl.CallOnKeyUp(KeyEventArgs)
RadControl.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.CallOnVisibleChanged(EventArgs)
RadControl.OnNotifyPropertyChanged(String)
RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadControl.IComponentTreeHandler.GetShowFocusCues()
RadControl.IComponentTreeHandler.CreateRootElement()
RadControl.IComponentTreeHandler.CreateChildItems(RadElement)
RadControl.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement, Rectangle)
RadControl.IComponentTreeHandler.InvalidateIfNotSuspended()
RadControl.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadControl.IComponentTreeHandler.ControlThemeChangedCallback()
RadControl.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadControl.IComponentTreeHandler.OnFocusRequested(RadElement)
RadControl.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadControl.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadControl.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.GetPreferredSize(Size)
RadControl.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadControl.GetRootElementDesiredSize(Int32, Int32, Int32, Int32)
RadControl.OnZoomGesture(ZoomGestureEventArgs)
RadControl.OnRotateGesture(RotateGestureEventArgs)
RadControl.OnPanGesture(PanGestureEventArgs)
RadControl.OnTwoFingerTapGesture(GestureEventArgs)
RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadControl.OnGesture(GestureEventArgs)
RadControl.ProcessGesture(Message)
RadControl.EnableGesture(GestureType)
RadControl.DisableGesture(GestureType)
RadControl.Refresh()
RadControl.SuspendUpdate()
RadControl.ResumeUpdate()
RadControl.ResumeUpdate(Boolean)
RadControl.InvokeLayoutCallback(LayoutCallback)
RadControl.RegisterHostedControl(RadHostItem)
RadControl.UnregisterHostedControl(RadHostItem, Boolean)
RadControl.ControlDefinesThemeForElement(RadElement)
RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)
RadControl.GetPlainText()
RadControl.CanEditUIElement(RadElement)
RadControl.GetChildAt(Int32)
RadControl.ShouldSerializeProperty(RadProperty)
RadControl.ShouldSerializeProperty(RadProperty, RadObject)
RadControl.ResetProperty(RadProperty, RadObject)
RadControl.CanEditElementAtDesignTime(RadElement)
RadControl.GetControlDefaultSize()
RadControl.GetDpiScaledSize(Size)
RadControl.GetDpiScaledSize(SizeF)
RadControl.ProcessCodedUIMessage(IPCMessage)
RadControl.FindPropertyInChildren(RadControl, IPCMessage)
RadControl.CallAccessibilityNotifyClients(AccessibleEvents, Int32)
RadControl.IPCHost.ProcessMessage(IPCMessage)
RadControl.ScaleControl(SizeF, BoundsSpecified)
RadControl.PerformRadAutoScale(Nullable<BoundsSpecified>)
RadControl.SetRadAutoScale(Boolean)
RadControl.IComponentTreeHandler.get_Name()
RadControl.IComponentTreeHandler.set_Name(String)
RadControl.EnableDpiScaling
RadControl.EnableRadAutoScale
RadControl.EnableRadFormInitialDpiScaling
RadControl.EnableImageDpiScaling
RadControl.EnableSvgImages
RadControl.IsTrial
RadControl.IsLoaded
RadControl.LayoutManager
RadControl.ElementTree
RadControl.UseCompatibleTextRenderingDefaultValue
RadControl.Behavior
RadControl.RootElement
RadControl.Padding
RadControl.ThemeName
RadControl.EnableTheming
RadControl.ThemeClassName
RadControl.ImageList
RadControl.ImageScalingSize
RadControl.UseCompatibleTextRendering
RadControl.AutoSize
RadControl.MaximumSize
RadControl.MinimumSize
RadControl.Focusable
RadControl.Site
RadControl.CausesValidation
RadControl.IsInitializing
RadControl.SmallImageList
RadControl.SmallImageScalingSize
RadControl.IsDesignMode
RadControl.IsDisplayed
RadControl.FocusedElement
RadControl.AllowShowFocusCues
RadControl.ShowItemToolTips
RadControl.CommandBindings
RadControl.EnableKeyMap
RadControl.BackColor
RadControl.ForeColor
RadControl.Font
RadControl.ValidationCancel
RadControl.IComponentTreeHandler.IsDesignMode
RadControl.IComponentTreeHandler.ElementTree
RadControl.IComponentTreeHandler.Behavior
RadControl.IComponentTreeHandler.Initializing
RadControl.IComponentTreeHandler.ThemeClassName
RadControl.EnableGestures
RadControl.EnableAnalytics
RadControl.AnalyticsName
RadControl.EnableRadAccessibilityObjects
RadControl.AccessibilityRequested
RadControl.EnableCodedUITests
RadControl.EnableCodedUITestsDefaultValue
RadControl.IPCHost.Context
RadControl.ElementInvalidated
RadControl.ToolTipTextNeeded
RadControl.ScreenTipNeeded
RadControl.ThemeNameChanged
RadControl.Initialized
RadControl.PropertyChanged
RadControl.ZoomGesture
RadControl.RotateGesture
RadControl.PanGesture
RadControl.TwoFingerTapGesture
RadControl.PressAndTapGesture
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

[TelerikToolboxCategory("Containers")]
public class RadLayoutControl : RadNCEnabledControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider, IMessageFilter

Constructors

RadLayoutControl()

Declaration
public RadLayoutControl()

Properties

AllowCustomize

Gets or sets a value indicating whether the end-user is allowed show the Customize Dialog and modify the existing layout.

Declaration
public bool AllowCustomize { get; set; }
Property Value
System.Boolean

AllowHiddenItems

Gets or sets a value indicating whether the end-user is allowed to hide and show existing items.

Declaration
public bool AllowHiddenItems { get; set; }
Property Value
System.Boolean

AllowResize

Gets or sets a value indicating whether resizing is enabled when the Customize Dialog is not shown.

Declaration
public bool AllowResize { get; set; }
Property Value
System.Boolean

ClientMargin

Gets the margin around the client area of the control. In the default case, this should be the border thickness.

Declaration
public Padding ClientMargin { get; }
Property Value
System.Windows.Forms.Padding

ContainerElement

Gets the main LayoutControlContainerElement which hosts the items on the root level.

Declaration
public LayoutControlContainerElement ContainerElement { get; }
Property Value
LayoutControlContainerElement

CreateParams

Declaration
protected override CreateParams CreateParams { get; }
Property Value
System.Windows.Forms.CreateParams

CurrentResizingBehavior

If the user is currently resizing, returns the active LayoutControlResizingBehavior, otherwise returns null.

Declaration
public LayoutControlResizingBehavior CurrentResizingBehavior { get; }
Property Value
LayoutControlResizingBehavior

Cursor

Declaration
public override Cursor Cursor { get; set; }
Property Value
System.Windows.Forms.Cursor

CustomizeDialog

Gets or sets the Customize Dialog form which is shown via the context menu.

Declaration
public RadLayoutControlCustomizeDialog CustomizeDialog { get; set; }
Property Value
RadLayoutControlCustomizeDialog

DefaultSize

Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size

DragOverlay

Gets the LayoutControlDraggableOverlay control which appears when the Customize Dialog is shown.

Declaration
public LayoutControlDraggableOverlay DragOverlay { get; }
Property Value
LayoutControlDraggableOverlay

DragOverlayVisible

Indicates whether the DragOverlay control is visible.

Declaration
public bool DragOverlayVisible { get; }
Property Value
System.Boolean

DrawBorder

Gets or sets a value indicating whether the control should draw its border.

Declaration
public bool DrawBorder { get; set; }
Property Value
System.Boolean

DropDownMenu

Gets or sets the context menu.

Declaration
public RadDropDownMenu DropDownMenu { get; set; }
Property Value
RadDropDownMenu

EnableNCModification

Declaration
protected override bool EnableNCModification { get; }
Property Value
System.Boolean

Overrides
RadNCEnabledControl.EnableNCModification

EnableNCPainting

Declaration
protected override bool EnableNCPainting { get; }
Property Value
System.Boolean

Overrides
RadNCEnabledControl.EnableNCPainting

HiddenItems

Gets a collection containing the hidden items.

Declaration
public RadItemCollection HiddenItems { get; }
Property Value
RadItemCollection

HorizontalScrollbar

Gets the horizontal RadHScrollBar.

Declaration
public RadHScrollBar HorizontalScrollbar { get; }
Property Value
RadHScrollBar

IsResizing

Indicates whether the user is currently resizing the items.

Declaration
public bool IsResizing { get; }
Property Value
System.Boolean

Items

Gets a collection containing the items on the root level.

Declaration
public RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection

Text

This property is not relevant for this class.

Declaration
public override string Text { get; set; }
Property Value
System.String

Overrides
RadControl.Text

VerticalScrollbar

Gets the vertical RadVScrollBar.

Declaration
public RadVScrollBar VerticalScrollbar { get; }
Property Value
RadVScrollBar

XmlSerializationInfo

Gets the serialization info for RadLayoutControl used by Save/Load layout methods to persist the layout to/from XML. By default or when set to null the ComponentXmlSerializationInfo provided by GetDefaultXmlSerializationInfo() will be used.

Declaration
public ComponentXmlSerializationInfo XmlSerializationInfo { get; set; }
Property Value
ComponentXmlSerializationInfo

Methods

AddItem(Control, Control, LayoutControlDropPosition)

Adds a control at a specified position next to a specified control.

Declaration
public void AddItem(Control control, Control anchor, LayoutControlDropPosition position)
Parameters
System.Windows.Forms.Control control

The control to add.

System.Windows.Forms.Control anchor

An existing control next to which the new control will be added.

LayoutControlDropPosition position

The position at which the new control will be added.

AddItem(Control, LayoutControlContainerElement)

Adds a control to the specified container.

Declaration
public void AddItem(Control control, LayoutControlContainerElement container)
Parameters
System.Windows.Forms.Control control

The control to add.

LayoutControlContainerElement container

The container.

AddItem(Control, LayoutControlItemBase, LayoutControlDropPosition)

Adds a control at a specified position next to a specified item.

Declaration
public void AddItem(Control control, LayoutControlItemBase anchor, LayoutControlDropPosition position)
Parameters
System.Windows.Forms.Control control

The control to add.

LayoutControlItemBase anchor

An existing item next to which the new control will be added.

LayoutControlDropPosition position

The position at which the new control will be added.

AddItem(LayoutControlItemBase)

Adds an item at the root level of the control and rebuilds the layout.

Declaration
public void AddItem(LayoutControlItemBase item)
Parameters
LayoutControlItemBase item

The item to add.

AddItem(LayoutControlItemBase, Control, LayoutControlDropPosition)

Adds an item at a specified position next to a specified existing control.

Declaration
public void AddItem(LayoutControlItemBase item, Control anchor, LayoutControlDropPosition position)
Parameters
LayoutControlItemBase item

The item to add.

System.Windows.Forms.Control anchor

An existing control next to which the new control will be added.

LayoutControlDropPosition position

The position at which the new control will be added.

AddItem(LayoutControlItemBase, LayoutControlContainerElement)

Adds an item to the specified container and rebuilds its layout.

Declaration
public void AddItem(LayoutControlItemBase item, LayoutControlContainerElement container)
Parameters
LayoutControlItemBase item

The item to add.

LayoutControlContainerElement container

The container to add the item to.

AddItem(LayoutControlItemBase, LayoutControlItemBase, LayoutControlDropPosition)

Adds an item at a specified position next to a specified existing item.

Declaration
public void AddItem(LayoutControlItemBase item, LayoutControlItemBase anchor, LayoutControlDropPosition position)
Parameters
LayoutControlItemBase item

The item to add.

LayoutControlItemBase anchor

An existing item next to which the new control will be added.

LayoutControlDropPosition position

The position at which the new control will be added.

BeginInit()

Declaration
public override void BeginInit()
Overrides
RadControl.BeginInit()

BeginUpdate()

Puts the control in an initialization state where it will not update until EndUpdate is called.

Declaration
public void BeginUpdate()

CloseCustomizeDialog()

Closes the RadLayoutControlCustomizeDialog and puts the control out of customize mode.

Declaration
public void CloseCustomizeDialog()

CreateChildItems(RadElement)

Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement parent

Overrides
RadControl.CreateChildItems(RadElement)

CreateControlsInstance()

Declaration
protected override Control.ControlCollection CreateControlsInstance()
Returns
System.Windows.Forms.Control.ControlCollection

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
RadControl.Dispose(Boolean)

EndInit()

Declaration
public override void EndInit()
Overrides
RadControl.EndInit()

EndUpdate()

Puts the control out of the initialization state caused by calling BeginUpdate and updates it.

Declaration
public void EndUpdate()

EnsureItemsControlsVisibility()

Called after load layout to ensure the visibility of the controls is the same as the visibility of the items.

Declaration
protected void EnsureItemsControlsVisibility()

FindItemByControl(Control)

Finds the item associated with a given control.

Declaration
public LayoutControlItem FindItemByControl(Control control)
Parameters
System.Windows.Forms.Control control

The control.

Returns
LayoutControlItem

The control's associated item.

FindItemByControl(Control, Boolean)

Finds the item associated with a given control.

Declaration
public LayoutControlItem FindItemByControl(Control control, bool includeHidden)
Parameters
System.Windows.Forms.Control control

The control.

System.Boolean includeHidden

[true] if the HiddenItems collection should be searched, [false] otherwise.

Returns
LayoutControlItem

The control's associated item.

GetAllItems()

Gets the items from all levels which are nested in the control.

Declaration
public IEnumerable<LayoutControlItemBase> GetAllItems()
Returns
System.Collections.Generic.IEnumerable<LayoutControlItemBase>

An enumeration of the items.

GetAllItems(Boolean)

Gets the items from all levels which are nested in the control.

Declaration
public IEnumerable<LayoutControlItemBase> GetAllItems(bool includeHidden)
Parameters
System.Boolean includeHidden

Returns
System.Collections.Generic.IEnumerable<LayoutControlItemBase>

GetBehaviorAtPoint(Point)

Gets the LayoutControlResizingBehavior that should be activated at a given point.

Declaration
public LayoutControlResizingBehavior GetBehaviorAtPoint(Point point)
Parameters
System.Drawing.Point point

The point.

Returns
LayoutControlResizingBehavior

The resizing behavior at that point.

GetCursorAtPoint(Point)

Gets the mouse cursor which should be shown at a given point.

Declaration
public Cursor GetCursorAtPoint(Point point)
Parameters
System.Drawing.Point point

The point.

Returns
System.Windows.Forms.Cursor

The cursor to be shown at that point.

GetDefaultXmlSerializationInfo()

Gets the default serialization info for RadLayoutControl used by Save/Load layout methods to persist the layout to/from XML.

Declaration
protected virtual ComponentXmlSerializationInfo GetDefaultXmlSerializationInfo()
Returns
ComponentXmlSerializationInfo

The default serialization info.

GetInitialCustomizeDialogLocation()

Gets the initial location of the RadLayoutControlCustomizeDialog.

Declaration
protected virtual Point GetInitialCustomizeDialogLocation()
Returns
System.Drawing.Point

The location.

GetNCMetrics()

Declaration
protected override Padding GetNCMetrics()
Returns
System.Windows.Forms.Padding

Overrides
RadNCEnabledControl.GetNCMetrics()

HideDragOverlay()

Hides the LayoutControlDraggableOverlay.

Declaration
public void HideDragOverlay()

HideItem(Control)

Hides a control from the RadLayoutPanel and places it in the HiddenItems collection.

Declaration
public void HideItem(Control control)
Parameters
System.Windows.Forms.Control control

The control to hide.

HideItem(LayoutControlItemBase)

Hides an item from the RadLayoutPanel and places it in the HiddenItems collection.

Declaration
public void HideItem(LayoutControlItemBase item)
Parameters
LayoutControlItemBase item

The item to hide.

InitializeDropDownMenu()

Initializes the items of the default context menu.

Declaration
protected virtual void InitializeDropDownMenu()

LoadLayout(Stream)

Loads RadLayoutControl's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.

Declaration
public virtual void LoadLayout(Stream stream)
Parameters
System.IO.Stream stream

The stream to read from.

LoadLayout(String)

Loads RadLayoutControl's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.

Declaration
public virtual void LoadLayout(string fileName)
Parameters
System.String fileName

The file to read from.

LoadLayout(XmlReader)

Loads RadLayoutControl's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.

Declaration
public virtual void LoadLayout(XmlReader xmlReader)
Parameters
System.Xml.XmlReader xmlReader

The XmlReader to read the XML from.

OnHandleCreated(EventArgs)

Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
System.EventArgs e

OnHandleDestroyed(EventArgs)

Declaration
protected override void OnHandleDestroyed(EventArgs e)
Parameters
System.EventArgs e

Overrides
RadControl.OnHandleDestroyed(EventArgs)

OnHandleDropCompleted(Object)

Declaration
protected virtual void OnHandleDropCompleted(object sender)
Parameters
System.Object sender

OnItemHiding(LayoutControlItemHidingEventArgs)

Declaration
protected virtual void OnItemHiding(LayoutControlItemHidingEventArgs args)
Parameters
LayoutControlItemHidingEventArgs args

OnLayout(LayoutEventArgs)

Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
System.Windows.Forms.LayoutEventArgs e

Overrides
RadControl.OnLayout(LayoutEventArgs)

OnLoad(Size)

Declaration
protected override void OnLoad(Size desiredSize)
Parameters
System.Drawing.Size desiredSize

Overrides
RadControl.OnLoad(Size)

OnMouseDown(MouseEventArgs)

Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadControl.OnMouseDown(MouseEventArgs)

OnMouseMove(MouseEventArgs)

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadControl.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadControl.OnMouseUp(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadControl.OnMouseWheel(MouseEventArgs)

OnNCPaint(Graphics)

Declaration
protected override void OnNCPaint(Graphics g)
Parameters
System.Drawing.Graphics g

Overrides
RadNCEnabledControl.OnNCPaint(Graphics)

OnPaint(PaintEventArgs)

Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
System.Windows.Forms.PaintEventArgs e

Overrides
RadControl.OnPaint(PaintEventArgs)

OnSizeChanged(EventArgs)

Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
System.EventArgs e

OnStructureChanged(Object)

Declaration
protected virtual void OnStructureChanged(object sender)
Parameters
System.Object sender

OnThemeChanged()

Declaration
protected override void OnThemeChanged()
Overrides
RadControl.OnThemeChanged()

PreFilterMessage(ref Message)

Declaration
public bool PreFilterMessage(ref Message m)
Parameters
System.Windows.Forms.Message m

Returns
System.Boolean

ProcessCmdKey(ref Message, Keys)

Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
System.Windows.Forms.Message msg

System.Windows.Forms.Keys keyData

Returns
System.Boolean

RemoveItem(Control)

Removes the specified control from the RadLayoutControl.

Declaration
public void RemoveItem(Control control)
Parameters
System.Windows.Forms.Control control

The control to remove.

RemoveItem(LayoutControlItemBase)

Removes the specified item from the RadLayoutControl.

Declaration
public void RemoveItem(LayoutControlItemBase item)
Parameters
LayoutControlItemBase item

The item to remove.

ResetBackColorThemeOverrides()

Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
RadControl.ResetBackColorThemeOverrides()

ResetForeColorThemeOverrides()

Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
RadControl.ResetForeColorThemeOverrides()

ResizeItem(Control, Int32)

Resizes the specified control with a specified amount. Resize direction depends on the position of item.

Declaration
public void ResizeItem(Control control, int diff)
Parameters
System.Windows.Forms.Control control

The control to resize.

System.Int32 diff

The amount to resize with.

ResizeItem(LayoutControlItemBase, Int32)

Resizes the specified item with a specified amount. Resize direction depends on the position of item.

Declaration
public void ResizeItem(LayoutControlItemBase item, int diff)
Parameters
LayoutControlItemBase item

The item to resize.

System.Int32 diff

The amount to resize with.

SaveLayout(Stream)

Stores RadLayoutControl's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.

Declaration
public virtual void SaveLayout(Stream stream)
Parameters
System.IO.Stream stream

The stream to write to.

SaveLayout(String)

Stores RadLayoutControl's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.

Declaration
public virtual void SaveLayout(string fileName)
Parameters
System.String fileName

The file to write to.

SaveLayout(XmlWriter)

Stores RadLayoutControl's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.

Declaration
public virtual void SaveLayout(XmlWriter xmlWriter)
Parameters
System.Xml.XmlWriter xmlWriter

XmlWriter to use by the built-in serializer

SetBackColorThemeOverrides()

Declaration
protected override void SetBackColorThemeOverrides()
Overrides
RadControl.SetBackColorThemeOverrides()

SetForeColorThemeOverrides()

Declaration
protected override void SetForeColorThemeOverrides()
Overrides
RadControl.SetForeColorThemeOverrides()

ShowCustomizeDialog()

Shows the RadLayoutControlCustomizeDialog and puts the control in customize mode.

Declaration
public void ShowCustomizeDialog()

ShowDragOverlay()

Shows the LayoutControlDraggableOverlay control which allows reordering and resizing the items.

Declaration
public void ShowDragOverlay()

UpdateControlsLayout()

Updates the bounds of nested controls.

Declaration
public void UpdateControlsLayout()

UpdateScrollbars()

Updates the scrollbar metrics.

Declaration
public virtual void UpdateScrollbars()

Events

ItemHiding

Fired when the items of the control or the items of the inner containers (such as groups and tabbed groups) have changed.

Declaration
public event EventHandler<LayoutControlItemHidingEventArgs> ItemHiding
Event Type
System.EventHandler<LayoutControlItemHidingEventArgs>

StructureChanged

Fired when the items of the control or the items of the inner containers (such as groups and tabbed groups) have changed.

Declaration
public event EventHandler StructureChanged
Event Type
System.EventHandler

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.