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
I have add a custom control in UXDesktop,and has set the HorizontalAlignment to right,but it does not work. I just want the costom control to float right . I know use the property of WindowStartupLocation and margin to achieve,but when the window size changed, these settings will not work out.How to make HorizontalAlignment=right works. thank you !!!my code:<Intersoft:UXDesktop x:Name="MyDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=DesktopDock}" ItemContainerStyle="{StaticResource GlassWindowStyle}"> <local:WaterList IsClientVisible="True" IsActive="True" HorizontalAlignment="Right" /> </Intersoft:UXDesktop>
Hello,
As mentioned in our ClientUI Docs under section Positioning a Window at Startup (http://www.intersoftpt.com/Support/ClientUI/Docs/WindowOverview.html), UXWindow has 3 values to position a window, which are Auto, CenterScreen and CenterOwner.
If you want to manually position a window, you need to set the WindowStartupLocation to Auto, and then set Left and Top properties. Here is the following code:
<Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=desktopDock, Mode=OneWay}"> <Intersoft:UXWindow x:Name="wndHome" IsClientVisible="True" IsActive="True" WindowStartupLocation="Auto" Top="0" Left="800"> <local:Welcome/> </Intersoft:UXWindow></Intersoft:UXDesktop>
Hope this helps.
Thank you.
HorizontalAlignment is not working too on my end. However, I will try to discuss with the developer team on how to set the custom control's alignment to the right.
Meanwhile, you can put the local custom control inside UXWindow and set the Margin property from UXWindow control such as following:
<Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding ElementName=desktopDock}"> <Intersoft:UXWindow x:Name="wndHome" Margin="600, 0" IsClientVisible="True" IsActive="True"> <local:Welcome/> </Intersoft:UXWindow></Intersoft:UXDesktop>
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