Skip to content

Make TimePicker Icon-Button hidable #3663

@SiggiSch

Description

@SiggiSch

It would be nice to hide the Clock-Button of the TimePicker control whenever I want to. For example I would like to hide the button, when the TimePicker is disabled. I could define a binding for that or just hide the button indefinitely.

Maybe with a dependency Property "bool HidePopupButton" or "Visibility HidePopupButton". So that I could use it like this:

<TimePicker HidePopupButton="True" />
or
<TimePicker HidePopupButton="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource InvertBooleanConverter}}" />

We have similar controls in our project, where the button is hidden, when the control is disabled. With the TimePicker we want to have the same behaviour.

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