LinkedIn / abeldutra How to create a Tab Menu in WPF Buy me a coffee www.buymeacoff... ++++++++++++++++++++++++++++++++++++++++++++++++++++++ GitHub github.com/Abe...
Muito obrigado Luiz, estou parado ultimamente pq estou meio apertado de tempo, mas quero voltar o mais rápido possível! Seu comentário foi muito importante, obrigado msm!!
Great stuff! But let me make some adjustments: Im not sure that using events in WPF is a good idea. You'd rather override TabItems via custom styling. For example: 1. Make TabItem's BorderThickness 0 0 0 5 2. Set triggers on prop "IsSelected" on true 3. Assign setter Border to prop Background with Value of any color you'd like. 4. profit. That way you gonna get pretty 'material design' tabmenu. Or use dragablz. Good luck :)
I have a App with only 2 Buttons as Tab, The Stackpanel is HorizontalAlignment="Center", how can i set the Position of the GridCursor, that it fits with the First Button ?
Hello, in this vídeo you can see how to work with UserControls: czcams.com/video/VNYOKc1PLqA/video.html Then you can call for each tab It own screen :)
@@AbelDutraUI there is no fully training course yet too. Even a lot of not advanced xaml course exist in udemy. They might have not enough knowledge or want to make easy money by beginner courses. Whatever inside of their mind ı have no idea but you are taking your time to show your excellent desings. Only missing thing is explanation for us. As u are a proffessional you have to record courses for us. And whenever u do, let me know pls. I ll buy first
Você poderia mostra como adicionar uma Page, em vez de mudar a cor ele adiciona uma page assim como um menu hamburger. não achei nenhum menu q seja no top assim como o seu com evento de navegação
Opa! Posso mostrar sim... Mas pra te ajudar mais rápido tenho esse outro vídeo: czcams.com/video/VNYOKc1PLqA/video.html que aos 26:24 eu incluo UserControls na GridPrincipal, que seria a mesma ideia, ao clicar no menu ele carrega um novo UserControl na Grid. Não sei se fui claro, qqr dúvida só me falar!
Muito obrigado me ajudou muito era isso mesmo. só outra coisa, é possível deixa o usercontrol carregado pra que quando eu click no botao do menu ele nao recarregue o usercontrol. pq eu tenho dados no usercontrol que ficao salvo ai toda vez q click pra abre ele ele limpa oq tinha e cria novo usando o New usercontrol não sei se vc entendeu.
Vc pode manter a instancia criada em algum lugar, tipo uma classe global que vc acessa sempre que precisar. Ou utilizar o padrão de projeto Singleton, que faz basicamente a mesma coisa.
Nice tutorial! but i'd like to ask you how to close tab item?(i don't want using ShowDefaultCloseButton, and i want handling close event. plz comment!)
Severity Code Description Project File Line Column Error CS0051 Inconsistent accessibility: parameter type 'ItemMenu' is less accessible than method 'UserControlMenuItem.UserControlMenuItem(ItemMenu)' WpfApplication10 C:\Users\Shr\Documents\Visual Studio 2015\Projects\WpfApplication10\WpfApplication10\UserControlMenuItem.xaml.cs 26 16
Cara, continue com esses vídeos que tá sensacional, melhor conteúdo sobre wpf disparado. Simples e direto, ganhou mais um inscrito!
Abraço
Muito obrigado Luiz, estou parado ultimamente pq estou meio apertado de tempo, mas quero voltar o mais rápido possível!
Seu comentário foi muito importante, obrigado msm!!
Great stuff! But let me make some adjustments:
Im not sure that using events in WPF is a good idea.
You'd rather override TabItems via custom styling. For example:
1. Make TabItem's BorderThickness 0 0 0 5
2. Set triggers on prop "IsSelected" on true
3. Assign setter Border to prop Background with Value of any color you'd like.
4. profit.
That way you gonna get pretty 'material design' tabmenu. Or use dragablz. Good luck :)
thanks teacher,you did a good job, I really like your tutorial, I hope to see you more videos.
Hope to see more your videos. Thanks for you kindly sharing.
Do you have a follow up video on this on how to put data for each tab?
where you have apply application resources code... i don't understand have you copy from anywhere please tell?
Useful video, thanks.
Can you do a follow up for each UID and how to actually put data on each one?
you can use material design extension library from nuget instead doing that
I have a App with only 2 Buttons as Tab, The Stackpanel is HorizontalAlignment="Center", how can i set the Position of the GridCursor, that it fits with the First Button ?
Let me ask how to add a new window instead of color changes?
you saved me bro, do you have a tuto about Listview (table)
thank you it's very nice and helpful
Limpo!
It isnt tab menu, its simple changing viewcontent with button several event.
czcams.com/video/XcXjIqjB108/video.html
Genio!!!!!! Saludos
superrr
Hello, I really love your tutorials, Can I know how to make a title bar with menu items in it. Like VSCode or Visual Studio.
Ok nice, but how to show different content in each tab???
Hello, in this vídeo you can see how to work with UserControls: czcams.com/video/VNYOKc1PLqA/video.html
Then you can call for each tab It own screen :)
thank you, i watched this video month ago, now i remember :D
Nice playlist :D
Do u have udemy course or something like that. U are so good but there is no explanation to understand what is going on there
Unfortunately not yet :/
@@AbelDutraUI there is no fully training course yet too. Even a lot of not advanced xaml course exist in udemy. They might have not enough knowledge or want to make easy money by beginner courses. Whatever inside of their mind ı have no idea but you are taking your time to show your excellent desings. Only missing thing is explanation for us. As u are a proffessional you have to record courses for us. And whenever u do, let me know pls. I ll buy first
Thank you! I am thinking about it, and trying to create some useful content! :)
@@AbelDutraUI Im glad you say that :D I have some questions about wpf and blend. Could you take a little bit time to me on discord ?
from where you get resource dictionary? copy paste?
Yeah, somethings I paste to short the vídeo. the source code is here github.com/Abel13/TabMenu if you want to copy :)
but i want to learn how to find the source... ... not need to copy paste
I understand you... unfortunately I don't have any video teatching how to do that... but I'll try to do something about it!
ok thanks. :)
any source of contact?
Você poderia mostra como adicionar uma Page, em vez de mudar a cor ele adiciona uma page assim como um menu hamburger. não achei nenhum menu q seja no top assim como o seu com evento de navegação
Opa! Posso mostrar sim... Mas pra te ajudar mais rápido tenho esse outro vídeo: czcams.com/video/VNYOKc1PLqA/video.html que aos 26:24 eu incluo UserControls na GridPrincipal, que seria a mesma ideia, ao clicar no menu ele carrega um novo UserControl na Grid.
Não sei se fui claro, qqr dúvida só me falar!
Muito obrigado me ajudou muito era isso mesmo.
só outra coisa, é possível deixa o usercontrol carregado pra que quando eu click no botao do menu ele nao recarregue o usercontrol. pq eu tenho dados no usercontrol que ficao salvo ai toda vez q click pra abre ele ele limpa oq tinha e cria novo usando o New usercontrol não sei se vc entendeu.
Vc pode manter a instancia criada em algum lugar, tipo uma classe global que vc acessa sempre que precisar. Ou utilizar o padrão de projeto Singleton, que faz basicamente a mesma coisa.
Entendi muito obrigado vou da uma estudada.
Eu que agradeço, qqr coisa só falar!
Really... with just one file for the whole application... code for tabs not in separate xml file... no way home...
Nice tutorial! but i'd like to ask you how to close tab item?(i don't want using ShowDefaultCloseButton, and i want handling close event. plz comment!)
Hi, try this other one czcams.com/video/XcXjIqjB108/video.html
What song?
Would you please apply what I did all to make me mistake
public UserControlMenuItem(ItemMenu itemMenu)
Severity Code Description Project File Line Column
Error CS0051 Inconsistent accessibility: parameter type 'ItemMenu' is less accessible than method 'UserControlMenuItem.UserControlMenuItem(ItemMenu)' WpfApplication10 C:\Users\Shr\Documents\Visual Studio 2015\Projects\WpfApplication10\WpfApplication10\UserControlMenuItem.xaml.cs 26 16
Your class cannot be private
tnx :)
how to show table data in a graph...plz upload...i am waiting... :)
Hello! Tnx :D
Ok, I'll try to do it in the next video :)
want it soon :)
Until I make the vídeo you can see this one: czcams.com/video/sgEhK3mbDYo/video.html, I did somethings with a Radial Gauge Chart :)
Design com WPF oh ok...will see...actually um doing a project...and your videos are helping me much more..
It's realy good to know :D
Thank you so much!
Share Source kode
Hi, here it is: github.com/Abel13/TabMenu
But I did this other Tab Layout using Dragblz: czcams.com/video/XcXjIqjB108/video.html it's simplest