User Profile & Activity

Maxwell Pryce Member
Posted: September 24, 2010 10:08 AM

Please see the comment above. I had already tried uXWindow1.Close(); and still got the exception

The second problem is straight forward.

1) I have created a UXPage.

2) I have created a Naviagtion Component

I can open the window by clicking on the navigation (FishExe) control but how do I open the window via code.

Posted: August 27, 2010 2:05 PM

It is OK I have solved the problem

A)

 <Intersoft:UXDesktop x:Name="uxDesktop" Background="{x:Null}" TaskBar="{Binding Path=DeskTopDock, ElementName=MyNavigation, Mode=OneWay}"
<my:Navigation x:Name="MyNavigation" Visibility="Visible"/>

B) In the code behind for the Navigation User Control

 public partial class Navigation : UserControl
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="Navigation"/> class.
        /// </summary>
        public Navigation()
        {
            this.InitializeComponent();
            this.DeskTopDock = this.desktopDock;
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets DeskTopDock.
        /// </summary>
        public UXDesktopDock DeskTopDock { get; private set; }

        #endregion
    }

 

All times are GMT -5. The time now is 5:34 PM.
Previous Next