Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Controls   (RSS)

Popup your control

You want a custom control to behave like a Popup and appear over your application and other windows? So you should inherit from Popup, right? Not necessarily. Another approach is to create your custom control, add a Popup to it, and use the popup service.

How do I programmatically interact with template-generated elements? Part I

You may have a scenario that requires you to find an element within a ControlTemplate. To do that, you use Template.FindName. Say you have a simple ControlTemplate for a Button, like the following: < Style TargetType = " {x:Type Button} " > <

Free DataGrid for WPF by Xceed

The DataGrid has to be the most requested and sought-after WPF control. Today Xceed Software has released version 1.0 of their WPF DataGrid. Check it out!

"Styling" the content of a ContentControl

People have occasionally asked about using a Style to set the content of a control. For example, suppose you want all of your buttons in an application to have the same content. You can do something like this (As usual, this doesn’t make sense for a real

Interactive 2D Controls on 3D Surfaces in WPF

One of the really cool features of WPF is its ability to place 2D content on 3D surfaces. For example, you can place a button control on a sphere or arrange images on a cube. However, w ith V1 of WPF, you couldn't interact with this 2D content. You could
Posted by wcsdkteam | 0 Comments

Are You My Mother? A look into how property inheritance works with the logical and visual element trees.

I was recently working on an article for the SDK and noticed some unexpected behavior in one of my examples. After a long discussion with a developer on the team, I caught onto some concepts that weren’t readily obvious to me. I’m going to share my findings
 
Page view tracker