Skip to content

DatePicker disable text input #1466

@MiyamuraMiyako

Description

@MiyamuraMiyako

Describe the bug

IsReadOnly does not take effect.

<hc:DatePicker>
    <hc:DatePicker.Resources>
        <Style TargetType="DatePickerTextBox">
            <Setter Property="IsReadOnly" Value="True" />
        </Style>
    </hc:DatePicker.Resources>
</hc:DatePicker>

Steps to reproduce the bug

just use above xaml code.

Expected behavior

No response

Screenshots

No response

NuGet package version

HandyControl 3.4.0

IDE

Visual Studio 2022-preview

Framework type

.Net 6.0

Windows version

Windows 11 (22000)

Additional context

No response

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