Showing posts with label mvp. Show all posts
Showing posts with label mvp. Show all posts

Friday, February 10, 2012

A Question to you the reader…Need your feedback here to decide if I should do a Tutorial


Hello Loyal Readers!
I started doing this all in Blend with no code-behind to show/hide panels in Silverlight but I used two identical Buttons, one to show the panel and one to hide it and made them either Visible or Collapsed depending on what state the panel was currently in.
My Good friend Todd Knudsen (Twitter: DataArtist) asked me if I could do it with just one Button.
I tried by turning the StoryBoards into Visual States, creating a DataStore and using Conditions. But as soon as I used the ChangeDataStoreValue Behavior (for a bool property named IsPanelShowing) it seemed to step on the toes of my conditionals and thus making it not work all together.
So my idea was to make a code-behind (C#) property whereby I kept the state of the panel in a Boolean and ran the correct StoryBoard based upon that. It worked perfectly!
A reader left a comment and said “why not just use a ToggoleButton”? Great idea! Why didn’t I think of it?!
So I think that will be my next tutorial maybe “How to use ONE Button and slide a panel in or out depending on its current state using the Visual State Manager, a DataStore, a Conditional and a ToggleButtton All in Blend!”
Sound like a good tutorial or are all of you done with sliding panels?
Let me know in the comments and your feedback will determine if I do the tutorial or not.
Thanks, Victor Gaudioso
PS: When you give your opinion please try and suggest a tutorial that has been giving your grief…I may just take it on and even mention you as the tutorial idea contributor. T
hank You All! Victor Gaudioso
AND, you can find my 70+ Silverlight/WPF/Windows Phone 7 step by step Video Tutorials here:http://wp.me/pWN5M-bu
Victor

7 Comments for this entry


  • teoman

    Hello Victor,
    I could not watch all your tutorials, but the videos I watched was very very helpful and clear.
    Thanks for all that.
    If we come back your question, it would be great to see of all combinations of visual state manager, DataStore, togglebuttton in one tutorial.
    Thanks for your perfect help, keep going!

  • Victor

    I think that is a splendid idea and I will do just that Teoman!
    Victor

  • Victor

    Teoman, great idea and I did just that for you (and all other readers) This video shows how to make a Sliding Panel using a SINGLE ToggleButton with NO Code-Behind and ALL in Blend. Enjoy and remember to keep giving me ideas for new Video Tutorials (that goes for ALL Readers!) URL to new Post: http://wp.me/pWN5M-fy

  • Victor

    By the way, I happen to use Storyboards because in my opinion they give you more control. And then I used a ControlStoryboard Behavior but I just as easily could have used Visual States and a ControlVisualState Behavior. As for the DataStore, it is not needed as the ToggleButton, I fire one Storyboard on the Checked State of the ToggleButton and another Storyboard on the Unchecked State. So, a DataStore with Conditions are not needed. Make sense?
    Victor

  • DEBAL

    Hi Victor
    I need a video tutorial on Silver light Tree View Control . My requirement is very simple . I want to totally do this work in Expression Blend 4 (no code).
    Create a new project in blend and drag and drop a treeview control in MainPage.xamldesign page .
    Now I need a style for treeview , so that the connecting lines should be see all tree nodes, I have sent a mail to you in details at wpfauthor@gmail.com
    pl reply me , PL

  • Victor

    email me with more details at wpfauthor at gmail dot com. Victor

  • DEBAL

    Thanks a lots
    for your reply , I have sent a mail at wpfauthor@gmail.com, pl reply me . I just want to see connecting lines between tree node using blend4. pl help me Sir
originally posted http://www.windowspresentationfoundation.com/?p=960#comments

Friday, May 20, 2011

The Los Angeles Silverlight Usergroup (LASLUG) Mentioned in the Weekly MVP Newsletter


Hello All,
As I do every Friday I opened up my weekly MVP News Letter and there it was, a whole section on the Los Angeles Silverlight Usergroup (LASLUG).  Don’t take my word for it…take a look at this screenshot I took of it:
MVP Newsletter Screenshot
LASLUG gets mentioned in the weekly MVP Newsletter


1 Comment for this entry

Monday, July 26, 2010

Speaking at RIAPalooza in Chicago

by Victor on Jul.26, 2010
Hello All!

This weekend (7.23.10) I was invited to speak at RIAPalooza, a one-day conference dedicated to building Rich Internet Applications (RIAs). During my presentation I showed how to build Silverlight applications without writing any code whatsoever. In doing so I introduced and showed off Silverlight Behaviors. I then used the Farseer Physics Engine to build a very simple version of Asteroids complete with simulated physics, a ship that could move and rotate using the arrow keys and a few asteroids that when hit would destroy your ship. I then showed how to build the Slide to Unlock control that is used on many smartphones these days. This was especially cool because I had a touch screen laptop running touch-enabled Windows 7.

After my presentation I then participated in a speaker panel that was addressing questions, topics, etc proposed by the audience. We talked about some very cool subjects including HTML5 vs Plugins.

A very good time was had by all and I look forward to returnining next year for RIAPalooza 4. If you missed this year I suggest you make plans to attend next year as it was an enlightening experience. Also, I suggest you do as I did and stay the entire weekend and visit Chicago as it is a wonderful city. I also suggest that you take in two restaurants, Gibbson’s Steakhouse and then Joe’s Steak and Seafood Stone Crab House. Both had simply amazing food and an atmosphere that was crazy-fun! During the day make sure and checkout the Navy Pier for boat rides, shopping, and a stain glass museum to die for.

Getting back to RIAPalooza, you can view my presentation by clicking the link below:

Video Now Available





I will be posting the Source code for the two sample Silverlight applications I developed on stage in about 3 hours.

Victor


2 Comments for this entry


  • Eric

    That is an awesome shirt, but you should train your guns a little bit more so that they bulge out of your sleeves a little bit better! :)

  • Kareem

    Hi Victor,
    I am currently reading your Foundation Expression Blend 4 book.
    This video is just 5 minutes. Can you post the full presentation?
    Thank you for your clear explanations.

1 Trackback or Pingback for this entry

originally from http://www.windowspresentationfoundation.com/?p=661

New SIlverilght Video Tutorial: How to Create a ListBox with a Static Background


Someone from my Silverlight Email List emailed me and told me that he had been struggling trying to create a ListBox with a static background image. So, I made this short, 3 mintue tutorial I show you how to do it all in Blend. So, if you need a ListBox with a background image then watch the video located here:
Download the Source Here

Enjoy! Victor
PS: To join my Silverlight Email List email me at wpfauthor at gmail dot com with the subject line Silverlight Email List.  I never advertise or share your email address with anyone.

6 Comments for this entry


  • Sung Kim 

    Who’d have thought that you were able to cover this topic within such a short amount of time?
    That was a great tutorial, Victor.
    Great Job as usual.

  • Paul 

    Gee, why make it so complicated when you can use a ListBox with a transparent background on top of an Image?

  • Victor 

    Because Paul, I would think that is the “Hacky” way to do it instead of taking a little extra time and doing it the right way. But by all means if that works for you go right ahead :) Victor

  • Paul 

    What’s so hacky about the technique in use by the basic controls? If you examine their templates, most of them are using the grid to superimpose one control over another. This is exactly what this simple solution is all about. If you prefer something more complicated, well maybe that justifies a blog entry, wouldn’t you say?

  • Paul 

    In fact, I wouldn’t be surprised if the net effect of your “solution” is Silverlight/WPF internally superimposing that listbox on top of your image. Ha ha.

  • Mike Filley 

    Hey Victor, I appreciate your blog.

2 Trackbacks / Pingbacks for this entry