Click or drag to resize

DashboardExtensionsIsDashboardReadOnly Method

Return true if dashboard is read only

Namespace:  Dynamicweb.Dashboards
Assembly:  Dynamicweb.Dashboards (in Dynamicweb.Dashboards.dll) Version: 2.9.4
Syntax
public static bool IsDashboardReadOnly(
	this IDashboard dashboard
)

Parameters

dashboard
Type: Dynamicweb.DashboardsIDashboard
The dashboard

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDashboard. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
You able to control visibility of the dashboard edit button using DashboardReadOnlyAttribute
See Also