Class DesignerRestrictions
Represents a set of designer's restrictions.
Inheritance
Namespace: FastReport.Design
Assembly: FastReport.dll
Syntax
public class DesignerRestrictions
Properties
DontChangePageOptions
Gets or sets a value that enables or disables the "Page Setup" action.
Declaration
public bool DontChangePageOptions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontChangeReportOptions
Gets or sets a value that enables or disables the "Report|Options..." menu.
Declaration
public bool DontChangeReportOptions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontCopyPage
Gets or set a value that enables or disbles the "Copy Page" action.
Declaration
public bool DontCopyPage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontCreateData
Gets or sets a value that enables or disables the "Data|Add New Data Source..." menu.
Declaration
public bool DontCreateData { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontCreatePage
Gets or sets a value that enables or disables the creation of report/dialog pages.
Declaration
public bool DontCreatePage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontCreateReport
Gets or sets a value that enables or disables the "New..." action.
Declaration
public bool DontCreateReport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontDeletePage
Gets or sets a value that enables or disables the "Delete Page" action.
Declaration
public bool DontDeletePage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontEditCode
Gets or sets a value that enables or disables the "Code" tab.
Declaration
public bool DontEditCode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontEditData
Gets or sets a value that enables or disables the "Data" menu.
Declaration
public bool DontEditData { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontInsertBand
Gets or sets a value that enables or disables the insertion of bands.
Declaration
public bool DontInsertBand { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontInsertObject
Gets or sets a value that enables or disables insertion of objects.
Declaration
public bool DontInsertObject { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontLoadReport
Gets or sets a value that enables or disables the "Open" action.
Declaration
public bool DontLoadReport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontPreviewReport
Gets or sets a value that enables or disables the "Preview" action.
Declaration
public bool DontPreviewReport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontSaveReport
Gets or sets a value that enables or disables the "Save/Save as" actions.
Declaration
public bool DontSaveReport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontShowRecentFiles
Gets or sets a value that enables or disables the recent files list.
Declaration
public bool DontShowRecentFiles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DontSortDataSources
Gets or sets a value that enables or disables the "Data|Sort Data Sources" menu.
Declaration
public bool DontSortDataSources { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Assign(DesignerRestrictions)
Copies the contents of another, similar object.
Declaration
public void Assign(DesignerRestrictions source)
Parameters
Type | Name | Description |
---|---|---|
DesignerRestrictions | source | Source object to copy the contents from. |
Clone()
Creates exact copy of this object.
Declaration
public DesignerRestrictions Clone()
Returns
Type | Description |
---|---|
DesignerRestrictions | The copy of this object. |