Skip to content
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

Panaroma Problem? button inside not working well #244

Closed
jeyi opened this issue Oct 28, 2012 · 8 comments
Closed

Panaroma Problem? button inside not working well #244

jeyi opened this issue Oct 28, 2012 · 8 comments

Comments

@jeyi
Copy link

jeyi commented Oct 28, 2012

I have a xaml code like below, everything for the panorama is ok and work just the button inside the panorama wont fired.

Anyone knows what problem?

< Controls:Panorama x:Name="MainPanorama" VerticalAlignment="Stretch" Margin="0" ItemBox="140" UseSnapBackScrolling="False" >
< ListBox x:Name="ProductList" Background="{x:Null}" BorderBrush="{x:Null}" ItemsPanel="{DynamicResource ItemsPanelTemplate1}"/>
< Button x:Name="AddBtn" HorizontalAlignment="Center" VerticalAlignment="Center" Width="44" Height="44" BorderBrush="{x:Null}" Background="#FFC1C1C1" Foreground="{x:Null}" Click="addBTNCLICK">
< /Controls:Panorama>

@jeyi
Copy link
Author

jeyi commented Oct 28, 2012

The button is clicked and i saw it have the clicked effect but it wont fired !! HELP~~~

@lhongzhong
Copy link

This is because Panorama overrides ItemsControl's mouse event and capture the mouse when mouse is down than release it when mouse it up - to support item dragging.

@glhrmolvr
Copy link

@jeyi I was having the same problem, but I found out the solution on this page: http://bizvise.com/2012/10/30/how-to-fix-mah-apps-metro-style-paronama-problem-on-mouse-click-event/

They could fix it on the current code, because I took some time to found out what was happening with this control.

👍

@ghost
Copy link

ghost commented Dec 20, 2012

You could have always submitted a pull request fixing up this issue for everybody..

@glhrmolvr
Copy link

@vikingcode Unfortunally, I don't know how to do it. Haha I'm new on GitHub.

@lhongzhong
Copy link

I'll do it.

On Thu, Dec 20, 2012 at 9:44 PM, Guilherme [email protected] wrote:

@vikingcode https://github.com/VikingCode Unfortunally, I don't know
how to do it. Haha I'm new on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/244#issuecomment-11573740.

@derosm2
Copy link

derosm2 commented Jan 11, 2013

Any word on if this fix has been implemented or if it's in progress?

@lhongzhong
Copy link

Could you do this? There is line ending problem when I checked out the repo:
Some files automatically modified.

On Jan 11, 2013, at 13:04, derosm2 [email protected] wrote:

Any word on if this fix has been implemented or if it's in progress?


Reply to this email directly or view it on GitHub.

ghost pushed a commit that referenced this issue Jan 14, 2013
@ghost ghost closed this as completed Jan 16, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants