Class ToolbarSettings
Inheritance
System.Object
ToolbarSettings
Assembly: FastReport.OpenSource.Web.dll
public class ToolbarSettings
Properties
Use to change ToolbarColor,
Default value Color.WhiteSmoke
Declaration
public Color Color { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
ContentPosition
Use to change content position in Toolbar,
Default value ContentPositions.Center
Declaration
public ContentPositions ContentPosition { get; set; }
Property Value
Declaration
public static ToolbarSettings Default { get; }
Property Value
Use to change Toolbar DropDownMenuColor,
Default value Color.White
Declaration
public Color DropDownMenuColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Use to change Toolbar DropDownMenuText Color,
Default value Color.Black
Declaration
public Color DropDownMenuTextColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Declaration
public ExportMenuSettings Exports { get; set; }
Property Value
Use to change Font in Toolbar,
Default value null
Example syntax : new Font("Arial", 14 , FontStyle.Bold)
Declaration
public Font FontSettings { get; set; }
Property Value
Type |
Description |
System.Drawing.Font |
|
Declaration
public int Height { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Use to change Icons color in Toolbar,
Default value IconColors.Black
Declaration
public IconColors IconColor { get; set; }
Property Value
Use to add Transparency in icon Toolbar,
Default value IconTransparencyEnum.None
Declaration
public IconTransparencyEnum IconTransperency { get; set; }
Property Value
Use to change Toolbar Position in report,
Default value Position.Top
Declaration
public Positions Position { get; set; }
Property Value
Declaration
public bool PrintInHtml { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Use to add Roundness to Toolbar,
Default value RoundnessEnum.High
Declaration
public RoundnessEnum Roundness { get; set; }
Property Value
Use to change search highlight,
Default value Color.Yellow
Declaration
public Color SearchHighlight { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Declaration
public bool Show { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[Obsolete("Please, use Position")]
public bool ShowBottomToolbar { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowFirstButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowLastButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowNextButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowPrevButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowPrint { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowRefreshButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowSearchButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ShowZoomButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
If enabled, the toolbar will follow the scrolling of the report.
Declaration
public bool Sticky { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Adds an item to the toolbar
Declaration
public void InsertToolbarElement(ToolbarElement element)
Parameters
Type |
Name |
Description |
ToolbarElement |
element |
Any inheritor of ToolbarElement. Can be a TolbarButton, ToolbarSelect, or ToolbarInput
|