Skip to content

SplitButton Items #2360

@chrisklepeis

Description

@chrisklepeis
<metro:SplitButton 
    HorizontalContentAlignment="Left"
    VerticalContentAlignment="Center"
    SelectedIndex="1"
    Width="120"
    VerticalAlignment="Center">
    <metro:SplitButton.Items>
        <s:String>Save and Close</s:String>
        <s:String>Save</s:String>
    </metro:SplitButton.Items>
</metro:SplitButton>

It appears I need to create some dummy view models and bind to ItemsSource? Not sure why this wouldn't work. It runs but I see nothing in the drop down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions