Getting datagrid column header text to expand out

Hi Guys,

I thought I throw a WPF XAML hint out there.

So today I was cleaning up column headers at work and thought I let you guys know a simple way to get your headers to size to the width of your column header names.

So in the XAML its pretty simple as all you need to do is set in the Field Settings the Width property to Auto.

It is my intention every Tuesday of the week to place a new WPF tip on my blog.

Thanks,
Jeff

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s