[]
        
(Showing Draft Content)

C1.Win.Layout.C1DashboardLayout

C1DashboardLayout Class

The C1DashboardLayout is a layout control that lets you design dynamic screens and dashboards.

Inheritance
C1DashboardLayout
Namespace: C1.Win.Layout
Assembly: C1.Win.DashboardLayout.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1DashboardLayout), "DashboardLayout.png")]
public class C1DashboardLayout : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IExtenderProvider, ISupportInitialize

Constructors

Name Description
C1DashboardLayout()

Creates an instance of C1DashboardLayout

Properties

Name Description
DisplayRectangle

Gets the rectangle that represents the display area of the control.

Items

Returns collection of DashbordItem instances of currently selected layout.

LayoutType

Gets or sets current LayoutType layout type.

Options

Gets DashboardOptions C1DashboardLayout options.

Styles

Gets DashboardTheme C1DashboardLayout styles.

Methods

Name Description
AttachToLayout(ILayout)

Attaches the custom layout

BeginInit()
Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.Control and its child controls and optionally releases the managed resources.

EndInit()
GetCaption(object)

Gets Caption for ItemContainer instance.

GetSelectedItem()

Returns currently selected DashboardItem

LoadLayout(Stream)

Loads layouts of C1DashboardLayout control from the XML file.

LoadLayout(string)

Loads layouts of C1DashboardLayout control from the XML file.

Maximize(DashboardItem)

Maximizes the dashboard item container.

OnHandleCreated(EventArgs)

Raises the System.Windows.Forms.Control.HandleDestroyed event.

OnHandleDestroyed(EventArgs)

Raises the System.Windows.Forms.Control.HandleDestroyed event.

OnItemContainerAction(ItemContainerActionEventArgs)

Raises ItemContainerAction event.

OnItemContainerSelected(EventArgs)

Raises ItemContainerSelected event.

OnPaintBackground(PaintEventArgs)

Paints the background of the control.

OnPaintHeader(HeaderPaintEventArgs)

Raises PaintHeader event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

ResetStyles()
Restore()

Restores the dashboard item container to it's original position and size.

SaveLayout(Stream)

Saves layouts of C1DashboardLayout control to the XML file.

SaveLayout(string)

Saves layouts of C1DashboardLayout control to the XML file.

SetCaption(object, string)

Sets Caption for ItemContainer instance.

SetId(object, string)

Sets Id for ItemContainer instance.

ShouldSerializeStyles()

Events

Name Description
ItemContainerAction

Occurs when the ItemContainer is maximized, restored, hidden or shown.

ItemContainerSelected

Occurs when the ItemContainer is selected.

PaintHeader

Occurs when the ItemContainer Header is redrawn.