wpf animation in the transition between tabs of Tab Control c # - Programming - HWzone Forums
Skip to content
  • Create an account
  • About Us

    Hello Guest!

     
    Please note - in order to participate in our community, comment and open new discussions, you must join as a registered member.

    Our members enjoy many advantages, including the ability to participate in discussions, enjoy raffles and promotions for members of the site, and receive our weekly content directly by email.

    Do not like being harassed by email? You can register for the site but do not submit your registration to the weekly email updates.

wpf animation in the transition between tabs of Tab Control c #


Recommended Posts

  • eido300 changed the title to wpf animation in the transition between tabs of Tab Control c #

The truth is just a comfortable transition to the eye, not necessarily with effects, just somewhere else you told me there are animations so it interested me to know how it goes.

have seen

BeginAnimation ()

But I could not figure out what exactly it is, I should use

BeginStoryboard ()

Right?

I'm now trying to do it with a game of transparency so that one disappears while the other appears.

 

It seems that when it comes to c # you are the only living soul here, well done to you, it used to be a schnitzel, I wonder where it went to ...

Edited By eido300
Post Reply Direct Link To This Post
Share on other sites

But it has to do with this question.

Everything I try does not work because it is not possible to display two tabs at the same time, so I want to copy one tab to control some image and manipulate it.

Post Reply Direct Link To This Post
Share on other sites
Quote by af db creid

I do not have the strength right now to get into this question but look atanimation - WPF Tabcontrol: Sliding effect on tab item selection - Stack Overflow.

Do not worry I'm not just dropping bags on you, I try to check the area first.

I saw this link and also the sub-link that is brought there, but none of them answer my question, neither about copying the control nor about the fact that AA should display two tabs at the same time, it is indeed a nice effect but a bit complex how he did all this business .

wpf is much more complex than I thought ...

Post Reply Direct Link To This Post
Share on other sites

Too bad you can't get code for "boys" through the parent something like tabControl.item.grid.

Learning all the material on wpf, having to find time (which I really don't have) and studying everything in an orderly fashion, meanwhile I find myself skimming parts of information here and there and spending hours on nothing without a drop of understanding.

Post Reply Direct Link To This Post
Share on other sites
Quote of eido300

Too bad you can't get code for "boys" through the parent something like tabControl.item.grid.

Of course it is possible! tabControl.Items.

Quote of eido300

Learning all the material on wpf, having to find time (which I really don't have) and studying everything in an orderly fashion, meanwhile I find myself skimming parts of information here and there and spending hours on nothing without a drop of understanding.

Yep, need time.

Post Reply Direct Link To This Post
Share on other sites
Quote by af db creid
Quote of eido300

It is a pity that it is not possible to reach the code for "sons" through the father something like tabControl.item.grid.

Sure you can! tabControl.Items.

True, but getting to the grid is impossible ... and the item is also an object that has nowhere to go. And I made a nice effect with the opacity and it has no such option, except that it needs the opacity of the grid and not of the item (at least that's how I was able to understand, but now that I think about it it's not necessarily true).

 

Now, when doing animation on a storyboard (hoping I can make a button as a trigger), is it possible to do it on all the grids or should one be done for everyone? In short I want to click on one button the opacity of the grid in the current item will start to decrease to 0.01 (with timer it worked well) and at the end of the next item will appear, the question if it is possible (conveniently) because I could not do it without explicitly writing the grid name , Which makes the whole business cumbersome, and makes it so inefficient, because then you have to change the code according to the item number, etc ....

Edited By eido300
Post Reply Direct Link To This Post
Share on other sites
Quote of eido300

True, but getting to the grid is impossible ... and the item is also an object that has nowhere to go. And I made a nice effect with the opacity and it has no such option, except that it needs the opacity of the grid and not of the item (at least that's how I was able to understand, but now that I think about it it's not necessarily true).

Of course it is possible, one should only use casting (which is not the right way).

 

Quote of eido300

Now, when doing animation on a storyboard (hoping I can make a button as a trigger), is it possible to do it on all the grids or should one be done for everyone? In short I want to click on one button the opacity of the grid in the current item will start to decrease to 0.01 (with timer it worked well) and at the end of the next item will appear, the question if it is possible (conveniently) because I could not do it without explicitly writing the grid name , Which makes the whole business cumbersome, and makes it so inefficient, because then you have to change the code according to the item number, etc ....

I did not quite understand what you mean here but sounded like a good candidate for style and binding.

Post Reply Direct Link To This Post
Share on other sites
Quote by af db creid
Quote of eido300

True, but getting to the grid is impossible ... and the item is also an object that has nowhere to go. And I made a nice effect with the opacity and it has no such option, except that it needs the opacity of the grid and not of the item (at least that's how I was able to understand, but now that I think about it it's not necessarily true).

Of course it is possible, one should only use casting (which is not the right way).

So what's the right way?

Post Reply Direct Link To This Post
Share on other sites

Join the discussion

You can then join the discussion and then join our community. If you already have an account with us, please Log in now To comment under your username.
Note that: The comment will appear to the surfers after approval by the board management team.

guest
Add a comment

×   The content pasted is with formatting.   Remove formatting

  Only 75 emoji are allowed.

×   Your link has been automatically assimilated.   Show as regular link

×   Your previous content has been automatically restored.   Clear all

×   You can not paste images directly. Upload or insert images from URL.

×
  • Create new ...

At the top of the news:

New: NVIDIA's Ampere Small

Three different manufacturers are adopting a particularly compact Mini-ITX configuration for the GeForce RTX 3060, so that even miniature computer systems can enjoy the benefits of the new generation - in case the availability does not disappoint once again

new on the site

You have an update

You have an update

Buzz Zone: The Instagram spaces #buzzzone You have an update A photo posted by HWzone.co.il (@ hwzone.co.il) on 2021-01-20 16:09:29 You have an update