示例#1
0
        object Create(ToolBarObjectMD md, IToolBarItemContext ctx, IInputElement commandTarget)
        {
            var item = (IToolBarObject)md.ToolBarItem;

            return(item.GetUIObject(ctx, commandTarget));
        }
示例#2
0
 object Create(ToolBarObjectMD md, IToolBarItemContext ctx, IInputElement commandTarget)
 {
     var item = (IToolBarObject)md.ToolBarItem;
     return item.GetUIObject(ctx, commandTarget);
 }