Skip to content

Fix hc:PasswordBox ContextMenu binding issue.#1588

Open
GF-Huang wants to merge 1 commit intoHandyOrg:masterfrom
GF-Huang:fix-PasswordBox-ContextMenu-binding
Open

Fix hc:PasswordBox ContextMenu binding issue.#1588
GF-Huang wants to merge 1 commit intoHandyOrg:masterfrom
GF-Huang:fix-PasswordBox-ContextMenu-binding

Conversation

@GF-Huang
Copy link
Member

@GF-Huang GF-Huang commented May 19, 2024

Test Code

<hc:PasswordBox hc:InfoElement.ShowClearButton="True" Password="123456" IsSafeEnabled="False">
    <hc:PasswordBox.ContextMenu>
        <ContextMenu>
            <MenuItem Command="ApplicationCommands.Copy" />
            <MenuItem Command="ApplicationCommands.Cut" />
            <MenuItem Command="ApplicationCommands.Paste" />
        </ContextMenu>
    </hc:PasswordBox.ContextMenu>
</hc:PasswordBox>

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant