private RadContextMenu ConfigurePostMenu(RadContextMenu postMenu) { var quote = new Commands.QuotePostToClipboardCommand(); var edit = new Commands.EditPostCommand(); var mark = new Commands.MarkPostAsReadCommand(); quoteMenu = new RadContextMenuItem() { Content = "quote", Command = quote }; editMenu = new RadContextMenuItem() { Content = "edit", Command = edit }; markMenu = new RadContextMenuItem() { Content = "mark as read", Command = mark }; postMenu.Items.Add(editMenu); postMenu.Items.Add(quoteMenu); postMenu.Items.Add(markMenu); postMenu.IsFadeEnabled = false; postMenu.IsZoomEnabled = false; return(postMenu); }
private RadContextMenu ConfigurePostMenu(RadContextMenu postMenu) { var quote = new Commands.QuotePostToClipboardCommand(); var edit = new Commands.EditPostCommand(); var mark = new Commands.MarkPostAsReadCommand(); quoteMenu = new RadContextMenuItem() { Content = "quote", Command = quote }; editMenu = new RadContextMenuItem() { Content = "edit", Command = edit }; markMenu = new RadContextMenuItem() { Content = "mark as read", Command = mark }; postMenu.Items.Add(editMenu); postMenu.Items.Add(quoteMenu); postMenu.Items.Add(markMenu); postMenu.IsFadeEnabled = false; postMenu.IsZoomEnabled = false; return postMenu; }