ComponentOne DashboardLayout for WinForms
Options Property

C1.Win.Layout Namespace > C1DashboardLayout Class : Options Property
Gets DashboardOptions C1DashboardLayout options.
Syntax
'Declaration
 
Public ReadOnly Property Options As DashboardOptions
public DashboardOptions Options {get;}
Remarks
This property is of DashboardOptions type. DashboardOptions is a class which provides properties to define the behavior of the DashboardLayout control.
Example
//Sets the minimum and maximum size to which the child containers can be resized
   c1DashboardLayout1.Options.MinimumItemContainerSize = new System.Drawing.Size(100, 100);                                                                                                                    c1DashboardLayout1.Options.MaximumItemContainerSize = new System.Drawing.Size(500, 500);
 //Styling the tool-icon
    c1DashboardLayout1.Styles.ItemContainer.ToolIcon = Properties.Resources.ToolIcon;
    c1DashboardLayout1.Styles.ItemContainer.ToolIconColor = Color.Green;
//Sets the position of the tool-icon to upper left corner of the child containers
    c1DashboardLayout1.Options.ToolIconAppearance = ToolIconAppearance.UpperLeft;
//Customizes the context menu strip which is shown on the click of the tool-icon
     c1DashboardLayout1.Options.ContextMenuStrip = contextMenuStrip1;
See Also

Reference

C1DashboardLayout Class
C1DashboardLayout Members