iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
I need to customize Menu using UXDesktopDock, UXDesktopDockButton and UXCallOut (UXCallOut is StackItem for UXDesktopDockButton menu).
But I have a problem when I use MouseLeaveAction="HidePopup" for UXCallOut – not only UXCallOut closes, but Stackmenu created by UXDesktopDockButton closes also (because in both cases the same class is used - UXPopup).
How can close only current UXCallOut?
Please, give me real working solution :)
Using ClientUI 5. ( version for Intersoft.Client.UI.Controls, as example 3.0.5000.1).
Thanks.
Code sample is below:
<Grid x:Name="LayoutRoot"> <Intersoft:UXDesktopDock x:Name="desktopDock"> <Intersoft:UXDesktopDockButton Icon="{StaticResource TestIcon}" StackDockPosition="Top" Text="Test" StackMode="GrigStyle" StackGridMode="DynamicGrid" StackTotalDisplayItem="0"> <Intersoft:UXCallOut x:Name="SampleControl1" HideLatency="0.20" Width="Auto" Height="Auto" PreferredPosition="Bottom" SlideDirection="Down" DisplayAnimation="Slide" HideAnimation="Slide" Background="#FF404040" BorderBrush="Gray" CornerRadius="0" Padding="0" MouseLeaveAction="HidePopup"> <Intersoft:UXCallOut.CallOutEffect> <DropShadowEffect Direction="300"/> </Intersoft:UXCallOut.CallOutEffect> <Intersoft:UXCallOut.Header> <Intersoft:UXStackItem Text="My button or another element" Icon="{StaticResource TestIcon1}" Height="48"/> </Intersoft:UXCallOut.Header> <ContentControl Foreground="White"> <Intersoft:DockPanel> <StackPanel Intersoft:DockPanel.Dock="Top" Margin="0"> <Intersoft:UXStackItem Text="My button or another element" Icon="{StaticResource TestIcon1}" Height="48"/> <Intersoft:UXStackItem Text="My button or another element" Icon="{StaticResource TestIcon1}" Height="48"/> <Intersoft:UXStackItem Text="My button or another element" Icon="{StaticResource TestIcon1}" Height="48"/> </StackPanel> </Intersoft:DockPanel> </ContentControl> </Intersoft:UXCallOut> </Intersoft:UXDesktopDockButton> </Intersoft:UXDesktopDock> </Grid>
Please add this snipped code in CallOut Close event.
private void uXCallOut1_Closed(object sender, Intersoft.Client.Framework.ISRoutedEventArgs e) { e.Handled = true; }
This should work as expected.
Regards,Handy
Great. Thanks a lot.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname