Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add WPF MouseDragElementBehavior alternative #4490

Closed
HavenDV opened this issue Feb 17, 2022 · 1 comment · May be fixed by #4498
Closed

[Feature] Add WPF MouseDragElementBehavior alternative #4490

HavenDV opened this issue Feb 17, 2022 · 1 comment · May be fixed by #4498

Comments

@HavenDV
Copy link
Contributor

HavenDV commented Feb 17, 2022

I want to port this Behavior from XamlBehaviorsWpf as a FrameworkElementExtension:

<mtuuc:HeaderedContentControl
    e:FrameworkElementExtensions.CanDragElement="True"
    e:FrameworkElementExtensions.ConstrainDragToParentBounds="True"
    />

The Attached Property option was chosen to not depend on the presence of the Behaviors package. Splitting the CommunityToolkit into smaller libraries is more conducive to using the extension separately if needed.

@ghost ghost added the needs triage 🔍 label Feb 17, 2022
@ghost
Copy link

ghost commented Feb 17, 2022

Hello HavenDV, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →