ContainerControlBase
Represents a base class for all container controls - controls that contain other controls.
Definition
Namespace:Telerik.WinControls.Containers
Assembly:Telerik.WinControls.dll
Syntax:
[ComVisible(false)]
public class ContainerControlBase : ContainerControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlContainerControlBase...
Implements:
Inherited Members
Constructors
Initializes a new instance of the ContainerControlBase class.
public ContainerControlBase()
Fields
allowedTypes
List<Type>
protected readonly List<Type> allowedTypes
protected int borderSize
forbiddenTypes
List<Type>
protected readonly List<Type> forbiddenTypes
protected Hashtable properties
protected TypeRestriction validationShema
Properties
Specifies the border style for a control.
public virtual BorderStyle BorderStyle { get; set; }
Encapsulates the information needed when creating a control.
protected override CreateParams CreateParams { get; }
Overrides:
Gets the space, in pixels, that is specified by default between controls.
protected override Padding DefaultMargin { get; }
Overrides:
Gets the internal spacing, in pixels, of the contents of a control.
protected override Padding DefaultPadding { get; }
Overrides:
this is the statistical weight of the container which is taken into account when the contaner participates in a layout chain.
public virtual double SizeWeight { get; set; }
Methods
Overrides Control.CreateControlsInstance.
protected override Control.ControlCollection CreateControlsInstance()
A new instance of ContainerControlBase.ContainerTypedControlCollection assigned to the control.
Overrides:
protected virtual List<Type> GetValidationTypes(TypeRestriction validationShema)
List<Type>
protected virtual void LayoutContentCore()
Raises the BorderStyleChanged event.
protected virtual void OnBorderStyleChanged(EventArgs e)
An EventArgs that contains the event data.
Raises the Layout event.
protected override void OnLayout(LayoutEventArgs e)
A LayoutEventArgs containing the event data.
Overrides:
Removes the specified property from the properties collection.
Events
Occurs when the value of the BorderStyle property has changed.
public event EventHandler BorderStyleChanged