Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Lester's WPF\SL Blog
Simple, Easy & Beautiful
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
Email Blog Author
RSS for posts
Atom
OK
Recent Posts
Annotations in WPF
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
Post-it notes using WPF.
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
Part III: Non-Rectangular Window in WPF (use of Thumb)
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
WPF-Winforms Interop functionality PART of WPF V1!!
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
Blog - News
Content is provided "AS IS" with no warranties and confers no rights.
Tag Cloud
.NET 3.0
.net 3.5
.NET 4
Avalon
Datagrid
Microsoft
MultiTouch
MVVM
New WPF 4 features
Pages
Programming
Ribbon
Silverlight
TestAPI
Vista
VS 2010
Windows Presentation Foundation
WPF
WPF Ribbon
WPF samples
WPF tools
WPF/E
Xaml
XAML 2009 features
Xaml Toolkit
Hot Links
Adding speller in custom context menu
Getting screen relative Position
Scrolling Scrollviewer on mouseDrag at the boundaries
Alternative XamlWriter for better performance
Flickr photo gadget
Vista look to your apps
Maximizing window considering Taskbar
WPF Vista gadgets
Split Button
Math operations in XAML
Mapping mouse click on a 3D model
BitmapSource-Bitmap interop
Listening to DependencyProperty changes
WPF/E 3D(like) photo app
Changing caret color
Localizing WPF apps
Printing RichTextBox content
Xbaps - Learn the basics
Xaml FlowDoc to XPS
Xaml FlowDoc to XPS
Vista style Open/Save FileDialogs
Xaml shield
WPF Blog Writer
Filtering text with IME
Enabled hyperlinks in RichTextBox
3.5 features: Addins
Using Viewport2DVisual3D
ABCs of Threat modeling
Using HeirarchicalDataTemplates
Weather Reader user control
.NET 3.5 Namespaces poster
Xbaps using Cookies
Mindmapping Tool
Drag Drop Library
12 tips/tricks about Vista
Blogs (Other)
Tim Sneath
Rob Relyea
Charles Petzold
WPF SDK
Michael Shim
Blog - Monthly Archive List
Archives
March 2011
(1)
December 2010
(1)
October 2010
(1)
September 2010
(2)
August 2010
(6)
July 2010
(4)
June 2010
(3)
May 2010
(2)
April 2010
(2)
March 2010
(2)
February 2010
(1)
January 2010
(1)
December 2009
(5)
November 2009
(19)
October 2009
(12)
September 2009
(3)
July 2009
(2)
June 2009
(3)
May 2009
(3)
April 2009
(3)
March 2009
(3)
February 2009
(2)
January 2009
(1)
December 2008
(3)
November 2008
(2)
October 2008
(4)
September 2008
(3)
August 2008
(4)
July 2008
(2)
June 2008
(3)
May 2008
(5)
April 2008
(2)
March 2008
(3)
February 2008
(4)
January 2008
(5)
December 2007
(3)
November 2007
(3)
October 2007
(5)
September 2007
(2)
August 2007
(6)
July 2007
(4)
June 2007
(5)
May 2007
(5)
April 2007
(5)
March 2007
(7)
February 2007
(6)
January 2007
(7)
December 2006
(7)
November 2006
(5)
October 2006
(8)
September 2006
(2)
August 2006
(3)
July 2006
(6)
June 2006
(4)
May 2006
(4)
April 2006
(2)
March 2006
(4)
February 2006
(4)
January 2006
(4)
December 2005
(3)
November 2005
(4)
October 2005
(6)
September 2005
(3)
August 2005
(1)
TestAPI
CoreMVVM
XamlPadX
Xaml Compliance
March, 2006
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Lester's WPF\Silverlight Blog
Annotations in WPF
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
Currently working on some Annotation stuff. So I thought it would be nice to post something on Annotations. It actually is pretty sinple to create/delete annotations- a couple of lines and its done. viewer = new FlowDocumentPageViewer(); //viewer needs to be populated :) XmlStreamStore myStream = new XmlStreamStore ( new FileStream ( "annotations.xml" , FileMode .OpenOrCreate) ); service = new AnnotationService (viewer); service.Enable(myStream); AnnotationService .CreateTextStickyNoteCommand.Execute( null , viewer); There are commands fro creating and deleting highlights as part of the AnnotationService. In the above code, the annotations are stored in the xml file. A more popular form is to store it in an xps file and Derek's blog explains...
Lester's WPF\Silverlight Blog
Post-it notes using WPF.
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
I am a very big fan of Post-it notes. It keeps my day organized. But one problem with these notes are that they are physical and once you are not physically present in your office, theres no way to access them.. So that was when I shifted to the software Post-it notes. This is very handy and I have been using them for a couple of years. It looked like a nice app to make in WPF and I spent some time on it in December and it came out pretty nice. So heres how it looks like: Looks good!! aint it .. :) ... There can be enhancements but i havent touched it for quite some time.... so what does it have - a splash screen the old alpha-chanel way (its much simpler using WPF and I have a couple of posts on it ) and some post-it note logic. So...
Lester's WPF\Silverlight Blog
Part III: Non-Rectangular Window in WPF (use of Thumb)
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
There seemed to be quite a lot of interest in my previous post on non-rectangular spash screen and I also received a lot of requests to post code to move around such a window. The magic to this is to use a thumb and then use the dragdelta event. The code would look something like this: void b_Click( object sender, RoutedEventArgs e) { HwndSourceParameters sParams = new HwndSourceParameters ( "Layered window" , 200, 200); sParams.UsesPerPixelOpacity = true ; _source = new HwndSource (sParams); _source.Disposed += new EventHandler (_source_Disposed); Thumb t = new Thumb (); t.Height = 200; t.Width = 200; t.DragDelta += MoveImage; Image vista = new Image (); vista.Margin = new Thickness (0); BitmapImage bi = new BitmapImage (); bi.BeginInit...
Lester's WPF\Silverlight Blog
WPF-Winforms Interop functionality PART of WPF V1!!
Posted
over 7 years ago
by
LesterLobo - MSFT
0
Comments
Whats a product without customers.. the same applies to WPF. Its good to know that our customer has been increasing tremendously and this reach has been possible because we deliver excellent stuff and also we are good listeners. For instance, we had planned on shipping the WPF-Winforms Interop functionality (code named "CrossBow") along with Visual Studio "Orcas". But many of our customers came to us with their concern about this functionality being delivered at a later date. So the custamers requested and we went about making their wishes come true. So now we have decided to make this functionality a part of WPF V1. ...yoooohoooo!!!! .... So this would "enable customers to leverage their existing Winforms code base (hosting WPF controls...
Page 1 of 1 (4 items)