SilverFlow.Controls.FloatingWindow.OnOpened C# (CSharp) Method

OnOpened() protected method

This method is called every time a FloatingWindow is displayed.
protected OnOpened ( ) : void
return void
        protected virtual void OnOpened()
        {
            Focus();

            // Set focus to the first focusable element in the window
            TraversalRequest request = new TraversalRequest(FocusNavigationDirection.First);
            this.MoveFocus(request);
        }
FloatingWindow