xtrareports-js-devexpress-dot-reporting-dot-designer-dot-settings.md
An object that contains properties to customize the Properties Panel.
export interface IPropertyGridSettings
The IPropertyGridSettings object is used to set the PropertyGrid property value.
Specifies whether Quick Actions are visible in the Properties Panel.
QuickActionsVisible: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
| Type | Description |
|---|---|
| IGlobalSubscribableValue<boolean> |
true to show Quick Actions in the Properties Panel; otherwise,false
|
The default property’s value is false. Quick Actions are not visible in the Properties Panel.
You can access an element’s actions in its context menu. To do this, right-click an element on the Design Surface, Report Explorer, or Field List:
To show Quick Actions in the Properties Panel, set the property to true:
<script>
function onBeforeRender(s, e) {
DevExpress.Reporting.Designer.Settings.PropertyGrid.QuickActionsVisible(true);
}
</script>
@{
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.ClientSideEvents(configure => configure.BeforeRender("onBeforeRender"))
.Bind(Model);
@designerRender.RenderHtml()
}
Specifies whether the Task group is visible in the Properties Panel.
TaskGroupVisible: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
| Type | Description |
|---|---|
| IGlobalSubscribableValue<boolean> |
true to show the Task group in the Properties Panel; otherwise,false.
|
The default property’s value is true. The Task group is visible in the Properties Panel for the selected report element:
The properties from the Task group are duplicated in an element’s smart tag panel (except for complex properties).
Set the property to false to hide the Task group from the Properties Panel:
<script>
function onBeforeRender(s, e) {
DevExpress.Reporting.Designer.Settings.PropertyGrid.TaskGroupVisible(false);
}
</script>
@{
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.ClientSideEvents(configure => configure.BeforeRender("onBeforeRender"))
.Bind(Model);
@designerRender.RenderHtml()
}