ASPxClientScheduler.GetToolbarVisible Method
In This Article
Returns a value specifying whether a toolbar is displayed.
#Declaration
TypeScript
GetToolbarVisible(): boolean
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
The scheduler’s toolbar includes the ASPxDateNavigator, ASPxViewVisibleInterval and the ASPxViewSelector. Their visibility on the server side is controlled by the following properties:
- ASPxSchedulerOptionsBehavior.ShowViewNavigator
- ASPxSchedulerOptionsBehavior.ShowViewSelector
- ASPxSchedulerOptionsBehavior.ShowViewVisibleInterval
<OptionsBehavior ShowViewNavigator="true" ShowViewSelector="false" ShowViewVisibleInterval="true" />
Use the GetToolbarVisible method to obtain a toolbar’s visibility state on the client. Then, the toolbar’s visibility can be dynamically changed on the client side using the ASPxClientScheduler.SetToolbarVisible method.
See Also