private void ProxiedControl_ActionRequested(object sender, RequestEventArgs e)
        {
            TypeInfo typeInfo = e.TargetElement.GetTypeInfo();
            if (typeInfo.IsSubclassOf(typeof(Page)))
            {
                PageManager.NavigateTo(e.TargetElement, null, NavigationType.Default);
                return;
            }

            if (sender as MenuControl != null)
            {
                MenuButton_Click(null, null);
                _contentControlManager.Clear();
                _titleBuilder.Clear();
            }

            if (typeInfo.IsSubclassOf(typeof(UserControl)))
            {

                _contentControlManager.NavigateToControl(e.TargetElement, e.Parameter);
                _titleBuilder.AddComponent(_contentControlManager.CurrentControl.DisplayTitle);
                SetTitleAndContent();
            }
        }
 private void ActionRequestedListener(object sender, RequestEventArgs e)
 {
     _handler(sender, e);
 }