• Programming

    Posted on July 30th, 2010

    Written by Emad Ibrahim

    Tags

    , , ,

    Display a Dictionary/KeyValuePair as Grid in WPF

    Every time I work with WPF, I constantly think “I hate this shit” and “why is everything so damn hard”, but once I figure it out, I realize how powerful it really is and what I can really do with it.  I remember starting out with WPF and trying to figure out how to bind [...]

  • Programming

    Posted on March 17th, 2008

    Written by Emad Ibrahim

    Tags

    , , ,

    Set a Clip in Code-Behind

    You can use the Clip property on any item to clip its display area. For example if you have this two items rectBlue and rectRed like this And you want to animate rectRed by sliding it out from the right side, without clipping it would look like this But if you set the Clip property [...]