Skip to content

Binding to NumericUpDown.IsReadOnly does not work #1914

@scionwest

Description

@scionwest
<controls:NumericUpDown Width="50"
                        VerticalAlignment="Center"
                        HideUpDownButtons="True"
                        IsReadOnly="{Binding Path=IsReadOnly}"
                        Minimum="0"
                        TabIndex="1"
                        TextAlignment="Center"
                        Validation.ErrorTemplate="{x:Null}"
                        Value="{Binding Path=ACRandomNumberCoreForm.LotNumber}" />

When I bind to the IsReadOnly property on the NumericUpDown control, the control does not go in to a readonly state. In this example, the IsReadOnly property is true, but the control still allows users to edit it.

Is this a known issue? I'm using MahApps 1.1.2.0.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions