Print Search Rate
    
   09-08-2003, 4:10 PM
INFO: How Do I Prevent a User From Customizing a Toolbar?

SharpUI allows you to have several different levels of end-user customization.

Generally there are four levels of customization:

Level 1 - Prevent user from customizing (deleting, moving, renaming) band tools:

  • Set the AllowCustomize property to False for the band.

Level 2 - Prevent user from customizing tools and hiding the band:

  • Set the AllowCustomize property to False for the band.
  • Set the AllowHide property to False for the band.

Note: Removing the Hide flag will remove the band from the system Customize menu and the Toolbars tab in the Customize dialog.

Level 3 - Prevent user from customizing tools, hiding and moving the band:

  • Set the AllowCustomize property to False for the band.
  • Set the AllowHide property to False for the band.
  • Set the band's Locked property to True.
  • Set the toolbar's GrabHandle property to None.

Level 4 - Disable all user customization options:

  • Set the AllowCustomize property to False for the band.
  • Set the AllowHide property to False for the band
  • Set the band's Locked property to True.
  • Set the AllowCustomize property on the band's ToolbarManager to False.

Jennifer-DD
GrapeCity » Frequently Aske... » SharpUI for .NE... » INFO: How Do I Prevent a User From Customizing a Toolbar?
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.