IPropertyGridSettings Interface
An object that contains properties to customize the Properties Panel.
Declaration
export interface IPropertyGridSettings
Remarks
The IPropertyGridSettings
object is used to set the PropertyGrid property value.
Properties
QuickActionsVisible Property
Specifies whether Quick Actions are visible in the Properties Panel.
Declaration
QuickActionsVisible: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
Property Value
Type | Description |
---|---|
IGlobalSubscribableValue<boolean> |
|
Remarks
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()
}
TaskGroupVisible Property
Specifies whether the Task group is visible in the Properties Panel.
Declaration
TaskGroupVisible: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>
Property Value
Type | Description |
---|---|
IGlobalSubscribableValue<boolean> |
|
Remarks
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()
}