private void NodeCornerControlOnNodeSelected(object sender, NodeSelectedEventArgs e) { if (CollapseControl.State == CollapseState.Collapsed || CollapseControl.State == CollapseState.SemiCollapsed) { CollapseControl.ExpandNodes(new ChildrenControlCollection(this, false, true)); } SelectNodeDetail(e.Type, e.Source); }
private void OnExtendButtonClicked(object sender, EventArgs e) { if (CollapseState == CollapseState.Collapsed || CollapseState == CollapseState.SemiCollapsed) { CollapseControl.ExpandNodes(new ChildrenControlCollection(this, false, true)); } ParentSurface.Selector.Clear(); ParentSurface.Selector.AddNode(this); }
private void VideoRemoteControlOnPlayClicked(object sender, EventArgs eventArgs) { if (CollapseState == CollapseState.Collapsed || CollapseState == CollapseState.SemiCollapsed) { CollapseControl.ExpandNodes(new ChildrenControlCollection(this, false, true)); } if (ViewModelNode.NodeActionOptions.ShowRelatedContentWithVideo) { NodeCornerControlOnNodeSelected(sender, new NodeSelectedEventArgs { Type = NodeSelectedEventArgs.NodeSelectedType.RelatedContent, Source = NodeSelectedEventArgs.ClickSource.CornerButton }); } }