UXStackItem Visibility Error

3 replies. Last post: February 14, 2013 10:36 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi ClientUI Team,


Im not sure what Im doing wrong.

I have a UXDesktop with an UXDesktopDock. In the Dock i have UXDesktopDockButtons with UXStackItems inside. 

The UXStackItems are my applications i want to lunch. This works great. 

But not every user have access to all applications. This means i have user rights.

To hide an show the applications - the user has the right - i use the visibility property. 

I build an RightsToVisibilityConverter to hide an show the application (UXStackItem).


To my problem: When an application (UXStackItem) is hide because the user doesn't have the right and the UXDesktopDockButton is clicked to open the grid with the UXStackItems and then the grid is closed again i get an "Unhandled Exception: System.NullReferenceException".

In the first picture i have attached you can see the UXDesktopDockButton Grid. One application is hide because of the user rights. In the secound picture you can see the exception.


I also have tried this in the Intersoft.ClientUI.Samples.WindowControls.Default.xamI change the StackMode of the pictures UXDesktopDockButton to GridStyle and set the Visibility property of the first UXStackItem (Interestingness) to 'Collapsed'. The same behavior.

When the StackMode is MenuStyle it works fine.


Can you help me. Is this a bug?

Cheers Mike


All times are GMT -5. The time now is 7:14 AM.
Previous Next