Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DropDownButton and SplitButton doesn't works #2051

Closed
Iworb opened this issue Jul 23, 2015 · 7 comments · Fixed by #2572
Closed

DropDownButton and SplitButton doesn't works #2051

Iworb opened this issue Jul 23, 2015 · 7 comments · Fixed by #2572
Labels

Comments

@Iworb
Copy link

Iworb commented Jul 23, 2015

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>
@punker76
Copy link
Member

you should give your controls some content, what do you expect with empty contents?

@Iworb
Copy link
Author

Iworb commented Jul 23, 2015

Content just a text or whatever else to display, but I want to change Background for a whole DropDownButton.
Thats what I've talked about: http://s27.postimg.org/x3gqnycqr/image.png
XAML: http://pastebin.com/zg6pq8Vi
Even with Content in DropDownButton and internal Buttons nothing happend - Background wasn't change and list is empty.

@punker76
Copy link
Member

setting the background should be fixed in the latest alpha

@Iworb
Copy link
Author

Iworb commented Jul 23, 2015

Should I use -Pre version?

@punker76
Copy link
Member

yepp, try it
Am 23.07.2015 11:17 schrieb "Alexander" notifications@github.com:

Should I use -Pre version?


Reply to this email directly or view it on GitHub
#2051 (comment)
.

@Iworb
Copy link
Author

Iworb commented Jul 23, 2015

Background was fixed, but dropdownlist still empty =(

@Iworb
Copy link
Author

Iworb commented Aug 7, 2015

Any changes? DropDown items isn't empty, but shown list is.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants