Styling GridLines on ItemsControl WPF?

I've used the code found here before which extends the Grid control to include properties that allow you to specify GridLine visibility, thickness, and color.

I've used the code found here before which extends the Grid control to include properties that allow you to specify GridLine visibility, thickness, and color ...

Sounds good but I'm getting all kinds of errors saying dependencyProperty could not found. Asking if I'm missing a assembly reference or directive? – TMan Nov 2 at 17:05 never even heard of dependencyProperty until just now.

– TMan Nov 2 at 17:06 @TMan All WPF properties that you can bind to are DependencyProperties. They're properties that depend on another value. What that link does is create a Grid, but with some extra properties that you can bind to.

The namespace for DependencyProperty is System. Windows – Rachel Nov 2 at 17:36 ok one more thing how(or do I need) to set up xmlns in the XAML? In other words how can I access the gridcontrol on xaml?

– TMan Nov 2 at 18:13 nvm I got it. Thanks for the help. All of it lol.

– TMan Nov 2 at 18:20.

Just add extra dummy items to fill the other cells...

I though of that..I just don't know how I would do that – TMan Nov 2 at 0:51 Add extra items to the schedule collection. – Thomas Levesque Nov 2 at 0:53 Yea I can't figure it out. This is my first wpf project, so I'm pretty new to this.

– TMan Nov 2 at 1:25 Well, at some point I assume you're filling the schedule collection you're binding to? – Thomas Levesque Nov 2 at 8:26 Yea, the setter property is set to grid. Row and grid.column.(the value is binded to properties of the schedule).

By getting the week of the month and the day of the week, thats how I'm able to place the txtblocks where they belong. So I need an x,y coordinate value to create the calender for the specified month. So whatever I put in the DataTemplate will just be set to the gridcells that are required.

– TMan Nov 2 at 13:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions