Click here to Skip to main content
15,903,203 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Dividing a TextBox into columns Pin
Mycroft Holmes6-Jan-18 21:14
professionalMycroft Holmes6-Jan-18 21:14 
Member 13610324 wrote:
I have been searching for hours
Probably because your requirements are a little weird, or at least the way you a looking at them.

For a start no user will want to look at 5000 items in a list - supply a filter before extracting the records from the database.

The textbox requirement is not valid, just bind your collection to the listbox, if your collection has more than the 3 columns then create specific columns in xaml (rather than auto generate). A data template will give you very fine control of the content.

If you set the column width to "Auto" it will resize to the content (I think). This may end up with a column wider than you view and a scroll bar on the listbox.

If you want to manage the width then use word wrap instead of scroll bars. This looks ugly but scroll bars are not available on each cell.
GeneralRe: Dividing a TextBox into columns Pin
Dwayne Barsotta7-Jan-18 3:27
Dwayne Barsotta7-Jan-18 3:27 
GeneralRe: Dividing a TextBox into columns Pin
Mycroft Holmes7-Jan-18 10:21
professionalMycroft Holmes7-Jan-18 10:21 
GeneralRe: Dividing a TextBox into columns Pin
Dwayne Barsotta27-Jan-18 6:24
Dwayne Barsotta27-Jan-18 6:24 
AnswerRe: Dividing a TextBox into columns Pin
Gerry Schmitz7-Jan-18 7:26
mveGerry Schmitz7-Jan-18 7:26 
AnswerRe: Dividing a TextBox into columns Pin
Kenneth Haugland7-Jan-18 17:41
mvaKenneth Haugland7-Jan-18 17:41 
AnswerRe: Dividing a TextBox into columns Pin
Dwayne Barsotta27-Jan-18 6:39
Dwayne Barsotta27-Jan-18 6:39 
GeneralRe: Dividing a TextBox into columns Pin
Gerry Schmitz27-Jan-18 12:47
mveGerry Schmitz27-Jan-18 12:47 
QuestionProblems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 0:52
mvaKenneth Haugland6-Jan-18 0:52 
AnswerRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 7:48
mveGerry Schmitz6-Jan-18 7:48 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 8:09
mvaKenneth Haugland6-Jan-18 8:09 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 8:26
mveGerry Schmitz6-Jan-18 8:26 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 8:41
mvaKenneth Haugland6-Jan-18 8:41 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 8:51
mveGerry Schmitz6-Jan-18 8:51 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Kenneth Haugland6-Jan-18 9:17
mvaKenneth Haugland6-Jan-18 9:17 
GeneralRe: Problems pausing and restarting animations in XAML Pin
Gerry Schmitz6-Jan-18 9:32
mveGerry Schmitz6-Jan-18 9:32 
QuestionWPF Pin
Bogadamidi3-Jan-18 16:20
Bogadamidi3-Jan-18 16:20 
AnswerRe: WPF Pin
Kenneth Haugland3-Jan-18 18:31
mvaKenneth Haugland3-Jan-18 18:31 
QuestionBegin a storyboard in a ControlTemplate Pin
Kenneth Haugland1-Jan-18 22:28
mvaKenneth Haugland1-Jan-18 22:28 
AnswerRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 0:55
mvePete O'Hanlon2-Jan-18 0:55 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Kenneth Haugland2-Jan-18 3:35
mvaKenneth Haugland2-Jan-18 3:35 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 4:38
mvePete O'Hanlon2-Jan-18 4:38 
AnswerRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 6:11
mvePete O'Hanlon2-Jan-18 6:11 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Kenneth Haugland2-Jan-18 6:41
mvaKenneth Haugland2-Jan-18 6:41 
GeneralRe: Begin a storyboard in a ControlTemplate Pin
Pete O'Hanlon2-Jan-18 7:49
mvePete O'Hanlon2-Jan-18 7:49 

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.