Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

WPF Designer Ribbon installs a Application menu

$
0
0


2. Describe what you wanted to do and how you did it

Onto this XAML Design window :-

<?xml version="1.0" encoding="utf-8"?>
<Window
    x:Class="Latest.Window1"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Latest"
    Height="300"
    Width="300" xmlns:Controls0="clr-namespace:System.Windows.Controls.Ribbon;assembly=System.Windows.Controls.Ribbon" xmlns:sd="http://icsharpcode.net/sharpdevelop/core">
    <Canvas
        HorizontalAlignment="Left"
        VerticalAlignment="Top"
        Width="299"
        Height="264"></Canvas>
</Window>

UseE WPF Designer to put a Ribbon on a canvas

 

from the WPF System.Windows.Controls.Ribbon toolbox dargged a ribbon onto the Canvas.


3. Describe the expected result

To place a ribbon on the canvas.
4. Describe the actual result

An Application Menu was placed on the canvas - declared in the Properties window to be a Ribbon.
5. Attach the exception text and the stack trace

There is no exception text


Viewing all articles
Browse latest Browse all 1764