Skip to content

DropDownButton and SplitButton doesn't works #2051

@Iworb

Description

@Iworb

Today I've installed MathApps.Metro and trie dto add DropDownButton into a new MetroWindow, but nothing happend. I mean, there is a new control on window, but some properties doesn't work: background always same color (even if I changed it), DropDownList is empty even if it contains some items.

Here how it looks

image

And here is XAML

<Controls:MetroWindow x:Class="MahApps.Metro.Application1.MainWindow"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:Controls="http://metro.mahapps.com/winfx/xaml/controls"
                     Title="MainWindow"
                     Height="350"
                     Width="525">
    <Grid>
        <Controls:DropDownButton HorizontalAlignment="Left" Margin="223,107,0,0" VerticalAlignment="Top" Height="89" Width="120" Background="#FFCB4C4C">
            <Controls:DropDownButton.Items>
                <Button/>
                <Button/>
            </Controls:DropDownButton.Items>
        </Controls:DropDownButton>

    </Grid>
</Controls:MetroWindow>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions