DevExpress RibbonControl page author

240 Views Asked by At

I want to authorize according to the user logged into the pages on the RibbonControl. For example, the user whose role is "Admin" should not see the page with "STOK". How can I do it ?

enter image description here

1

There are 1 best solutions below

0
DmitryG On

Set the RibbonPage.Visible property to hide the page at runtime or design time. Hidden pages can be made visible again only in code. If a page belongs to a custom category, you can hide all pages in this category by setting the RibbonPageCategory.Visible property to false.

To learn more, take a look at the Navigating Pages and Controling Page Visibility help article.