ClassContainerControlBase
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
ContainerControlBase()
Initializes a new instance of the ContainerControlBase class.
Declaration
public ContainerControlBase()
Fields
Properties
BorderStyle
Specifies the border style for a control.
Declaration
public virtual BorderStyle BorderStyle { get; set; }
Property Value
CreateParams
Encapsulates the information needed when creating a control.
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Overrides
DefaultMargin
Gets the space, in pixels, that is specified by default between controls.
Declaration
protected override Padding DefaultMargin { get; }
Property Value
Overrides
DefaultPadding
Gets the internal spacing, in pixels, of the contents of a control.
Declaration
protected override Padding DefaultPadding { get; }
Property Value
Overrides
SizeWeight
this is the statistical weight of the container which is taken into account when the contaner participates in a layout chain.
Methods
AddEventHandler(object, Delegate)
Adds a delegate to the list.
CalculateContainerClientArea()
Declaration
protected virtual Rectangle CalculateContainerClientArea()
Returns
ContainerLayout(LayoutEventArgs)
Declaration
protected virtual void ContainerLayout(LayoutEventArgs e)
Parameters
e
CreateControlsInstance()
Overrides Control.CreateControlsInstance.
Declaration
protected override Control.ControlCollection CreateControlsInstance()
Returns
A new instance of ContainerControlBase.ContainerTypedControlCollection assigned to the control.
Overrides
GetPropertyValue(object)
Retrieves the value of the specified property.
GetValidationTypes(TypeRestriction)
Declaration
protected virtual List<Type> GetValidationTypes(TypeRestriction validationShema)
Parameters
validationShema
Returns
List<Type>
IsPropertyDefined(object)
Retrieves a boolean value indicating if the specified property has been explicitly set.
LayoutContentCore()
Declaration
protected virtual void LayoutContentCore()
OnBorderStyleChanged(EventArgs)
Raises the BorderStyleChanged event.
Declaration
protected virtual void OnBorderStyleChanged(EventArgs e)
Parameters
e
An EventArgs that contains the event data.
OnLayout(LayoutEventArgs)
Raises the Layout event.
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
e
A LayoutEventArgs containing the event data.
Overrides
RaiseEvent(object, EventArgs)
Raises the specified event.
RegisterAllowedType(Type)
Declaration
protected virtual void RegisterAllowedType(Type type)
Parameters
type
RegisterForbiddenType(Type)
Declaration
protected virtual void RegisterForbiddenType(Type type)
Parameters
type
RemoveEventHandler(object, Delegate)
Removes a delegate from the list.
RemovePropertyValue(object)
Removes the specified property from the properties collection.
Declaration
protected void RemovePropertyValue(object key)
Parameters
key
The property to remove.
SetPropertyValue(object, object)
Sets the value of the specified property.
Events
BorderStyleChanged
Occurs when the value of the BorderStyle property has changed.