Skip to content

MetroDialogSettings is not settable within a style #3265

@michaelmairegger

Description

@michaelmairegger

Describe the bug

It is not possible anymore to set the metrodialogsettings within a style. Up to 1.5.0 it was possible

To Reproduce
Steps to reproduce the behavior:

<Style x:Key="MyWindowsStyle" TargetType="{x:Type mahapps:MetroWindow}">
  <Style.Setters>
    <Setter Property="MetroDialogOptions">
      <Setter.Value>
        <dialogs:MetroDialogSettings ColorScheme="Accented" NegativeButtonText="Abbrechen" />
      </Setter.Value>
    </Setter>
  </Style.Setters>
</Style>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions