Click here to Skip to main content
15,887,477 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF samples Pin
Renat Khabibulin9-May-11 1:09
Renat Khabibulin9-May-11 1:09 
GeneralRe: WPF samples Pin
arkiboys9-May-11 1:11
arkiboys9-May-11 1:11 
GeneralRe: WPF samples Pin
Renat Khabibulin9-May-11 1:32
Renat Khabibulin9-May-11 1:32 
GeneralRe: WPF samples Pin
arkiboys9-May-11 1:42
arkiboys9-May-11 1:42 
QuestionMake two listboxes have the same width Pin
Jean-Louis Leroy6-May-11 2:43
Jean-Louis Leroy6-May-11 2:43 
AnswerRe: Make two listboxes have the same width Pin
Ian Shlasko6-May-11 3:09
Ian Shlasko6-May-11 3:09 
GeneralRe: Make two listboxes have the same width Pin
Jean-Louis Leroy6-May-11 3:18
Jean-Louis Leroy6-May-11 3:18 
GeneralRe: Make two listboxes have the same width Pin
Ian Shlasko6-May-11 3:31
Ian Shlasko6-May-11 3:31 
Except, in the code you posted, the listbox is in a star-sized column, not an Auto column. A star-sized one will always take up a fraction of the remaining width after fixed and auto columns, calculated by dividing its star width by the total star width (1* / (1* + 1*) = 1/2).

Yes, the listbox would resize itself based on its contents, but the grid tells it what rectangle it's supposed to fill, and in this case, that rectangle will have nothing to do with the ListBox contents.

So like I said... Check that the grid itself isn't enlarging, and then try reducing your code until the problem is eliminated (to track down the exact cause).
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Make two listboxes have the same width Pin
Jean-Louis Leroy9-May-11 1:23
Jean-Louis Leroy9-May-11 1:23 
AnswerRe: Make two listboxes have the same width Pin
Renat Khabibulin9-May-11 1:26
Renat Khabibulin9-May-11 1:26 
Questionselect columns to load Pin
picasso25-May-11 18:49
picasso25-May-11 18:49 
QuestionHow to read the values from listbox Item source Pin
Rocky235-May-11 18:38
Rocky235-May-11 18:38 
AnswerRe: How to read the values from listbox Item source Pin
Thanigainathan.S6-May-11 0:38
Thanigainathan.S6-May-11 0:38 
AnswerRe: How to read the values from listbox Item source Pin
Pete O'Hanlon6-May-11 1:12
mvePete O'Hanlon6-May-11 1:12 
QuestionWPF 3d iges, catpart or step modeling Pin
rafaeltejera5-May-11 11:17
rafaeltejera5-May-11 11:17 
QuestionCustom Control & Binding woe Pin
Super Lloyd4-May-11 15:36
Super Lloyd4-May-11 15:36 
AnswerRe: Custom Control & Binding woe Pin
Super Lloyd4-May-11 15:53
Super Lloyd4-May-11 15:53 
AnswerRe: Custom Control & Binding woe Pin
Super Lloyd4-May-11 15:59
Super Lloyd4-May-11 15:59 
QuestionBest Way To Do This Pin
Kevin Marois4-May-11 12:57
professionalKevin Marois4-May-11 12:57 
AnswerRe: Best Way To Do This Pin
Pete O'Hanlon4-May-11 13:17
mvePete O'Hanlon4-May-11 13:17 
GeneralRe: Best Way To Do This Pin
Kevin Marois4-May-11 13:21
professionalKevin Marois4-May-11 13:21 
GeneralRe: Best Way To Do This Pin
SledgeHammer014-May-11 14:19
SledgeHammer014-May-11 14:19 
AnswerRe: Best Way To Do This Pin
Renat Khabibulin4-May-11 16:55
Renat Khabibulin4-May-11 16:55 
AnswerRe: Best Way To Do This Pin
RichardGrimmer20-May-11 3:58
RichardGrimmer20-May-11 3:58 
QuestionWCF RIA / MVVM Question Pin
eddieangel4-May-11 11:33
eddieangel4-May-11 11:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.