コード例 #1
0
        /// <inheritdoc />
        protected override void CreateCommandContentForDocument(ICommandPresentationContext context)
        {
            base.CreateCommandContentForDocument(context);

            using (context.AddStudioWindowToolBarContent())
            {
                using (context.AddGroup(ShellToolBar.LeftGroupCommand))
                {
                    context.Add(DocumentCommands.Copy);
                    context.Add(DocumentCommands.Paste);
                }
            }
        }