[]
Layout control interface. All layouts should implement this interface in order to communicate with C1DashboardLayoutControl
public interface ILayout : ISupportInitialize
Name | Description |
---|---|
Container | Returns main container for dashboard itemContainers |
Items | Returns DashboardCollection list of Dashboard DashboardItem items |
LayoutItemContainers | Returns IList list of ItemContainer instances. |
Name | Description |
---|---|
Attach(Dictionary<string, ICollection>) | Attaches dashboard ItemContainers to layout control. |
CanDrag(object, Point) | Defines whether the ItemContainer instance can be dragged or resized. |
CreateItemContainer(string) | Creates an ItemContainer. |
DeselectItemContainer(object) | Removes selection from ItemContainer instance. |
Detach() | Detaches dashboard itemContainers from layout control. |
FindItemContainer(string) | Looks for ItemCotainer with defined unique identifier. |
GetBounds(object) | Returns Rectangle bounds of the ItemContainer. |
GetFace(object) | Returns face image of ItemContainer instance. |
GetId(object) | Gets Id for ItemContainer instance. |
GetItemContainerOnPoint(Point) | Returns ItemContainer instance at point. |
GetItemProperties(object) | Gets the Dashboard properties for item. |
InitializeNew() | Initializes a newly created layout. The method is called when a C1DashboardLayout is first initialized, typically after being first added to a design surface. |
IsItemContainer(object) | Defines whether the object is an ItemContainer. |
LoadLayout(XmlNode) | Restores elements of the child container. |
Maximize(object) | Maximizes ItemContainer |
PopulateItemContainer(string, object) | Populates item container by items from source item container. |
RemoveItemContainer(string) | Removes an ItemContainer. |
Restore() | Restores maximized ItemContainer to it's original size. |
SaveLayout(XmlNode) | Stores elements of the child container. |
SelectItemContainer(object) | Selects ItemContainer instance. |
SetBounds(object, Rectangle, DragType) | Sets bounds for the ItemContainer instance. |
SetDelegates(AddRemoveItemContainerDelegate, AddRemoveItemContainerDelegate, SynchronizeItemContainerDelegate) | Set appropriate delegates in order to control adding/removing/synchronizing ItemContainers by C1DashboardLayout instance. |
SetId(object, string) | Sets Id for ItemContainer instance. |
SetItemProperties(object, ItemContainerProperties) | Sets the Dashboard properties for item. |
SetParent(Control, bool) | Sets parent for ILayout container. |
SetPlaceholderAt(object, Point) | Replaces the ItemContainer instance by placeholder or replaces the placeholder by ItemContainer instance. |
SetRightToLeft(RightToLeft) | Set RightToLeft property to maximized panel: control elements are displayed from right to left |
UpdateStyle() | Updates style according to the current theme. |
UseOptions(DashboardOptions) | Force Layout control to use the Dashboard options. |
UseTheme(DashboardTheme) | Apply the specified theme to layout |