[This is preliminary documentation and is subject to change.]
This interface is implemented by all Persistate controls which act
as containers and which can be bound to a Persistent object
Declaration Syntax
C# |
public interface IPContainer : IPControl, IStyled, IContainerControl, IDisposable, ITitled
Members
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
ActivateControl(Control) |
Activates a specified control.
(Inherited from IContainerControl.) | |
ActiveCollection | Gets the currently active collection in a container. | |
ActiveControl |
Gets or sets the control that is active on the container control.
(Inherited from IContainerControl.) | |
ActiveObject | Gets the currently active Persistent object in a
container. | |
ApplyLayoutStyle()()()() | Sets appropriate property values from the current LayoutStyle for the control. (Inherited from IStyled.) | |
ApplyProperties(ContainerProperties) | Applies a set of properties to the IPContainer | |
AttachedControlWidth | Gets the width of any controls attached to this IPControl.
(Inherited from IPControl.) | |
ContainerLayout | Gets or sets the layout associated with an instance of a
IPcontainer. | |
DataPropertyName | Gets or sets the name of the property in the bound object to
which the IPControl is bound. (Inherited from IPControl.) | |
DataSource | Gets or sets the object or collection bound to this container.
| |
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) | |
FitControls | Gets or sets a value indicating whether controls will be
repositioned and resized at run time to fit into the container. | |
LayoutStyle | Gets or sets the current LayoutStyle of the
control. (Inherited from IStyled.) | |
Pane | Gets or sets the Pane in which the container is
displayed. The container need not be the top level container in the pane
but may be nested within it. | |
ReadOnly | Gets or sets a value indicating whether the user is allowed to
change the value shown. (Inherited from IPControl.) | |
RefreshAllFromDataSource()()()() | Refreshes all controls from the DataSource, including controls in
any sub forms or sub grids. | |
RefreshFromDataSource()()()() | Causes all controls bound directly to the DataSource to be updated from that source, not including
any sub forms or sub grids. | |
SetBindings(IPContainer) | Creates the appropriate binding for the IPControl. (Inherited from IPControl.) | |
SetFocusTo(Persistent) | Sets the focus in the container to a particular object.
| |
SetFocusTo(Persistent, IPersistateList) | Sets the focus in the container to a particular object showing
within a particular collection. | |
ShouldResize | Gets or sets a value determining how the control should resize
when its container is resized. (Inherited from IPControl.) | |
Title | Gets or sets the title text of the container. (Inherited from ITitled.) | |
TitleBackColor | Gets or sets the background colour of the title. (Inherited from ITitled.) | |
TitleFont | Gets or sets the font in which the title is displayed. (Inherited from ITitled.) | |
TitleForeColor | Gets or sets the foreground colour of the title. (Inherited from ITitled.) | |
TitleHeight | Gets the height that the title should be, given the current title
font. (Inherited from ITitled.) | |
ToolTip |
Gets the ToolTip object associated with this container.
| |
UI | Gets the DesktopUserInterface of which this
container is a part. | |
UseAppliedStyles | Gets or sets a value indicating whether LayoutStyles should be applied to this control at
run time. (Inherited from IStyled.) |
Remarks
The standard implementation of this interface is PContainer. The core property is DataSource, which is used to bind the IPContainer to an object or a collection.