|
i'm having this problem too. any luck?
|
|
|
|
|
When I change the fontfamily property on a WPF richtextbox, it changes the font for all the text typed in so far. I only want the font to change for the text that is typed in AFTER I change the font. How can I do this? I can get it to change the font for just selected text, but then not for text that is type in afterwards.
|
|
|
|
|
Basically you need to create a new TextRun that starts at this point, and set the font on that.
|
|
|
|
|
HI,
Im using wpf for designing purpose,i have to use dataset in my project, but im new to this one.i dont know how to use.i added dataset to my project by soln explorer--> add newitem-->Dataset. but i dont know whats the purpose of this one and i dont know how to use this one.. and also i need to know is it possible to store the values?.. could any one assist me??
regrds
Kanna..
|
|
|
|
|
Hello All,
I would like to have a listview with multiple columns (three). When a row is selected the complete row should be expanded vertical and span all three columns. I have tried some stuff in WPD/Expression blend but could not get it to work. The ListViewItem is expandable but is allways contained in on collumn.
Does anybody have a solution for this problem?
Thanks,
Meindert
|
|
|
|
|
|
Karl - you're back. How goes it with the new job?
|
|
|
|
|
Pete,
Sorry for a prolonged absence, nice to be missed! I'm moving into my place next week.
I LOVE working at Microsoft on the Cider Team. Best company I've ever worked for. (Well the Marines was probably the best, they let you fly in planes, helicopters, travel around the world, free room and board, etc...)
I'll have some very cool stuff this week.
I'm actually finishing my XAMLPowerToys Visual Studio 2008 Add-In. I'll post this on my blog over the next few days.
I'm also releasing Ocean, a code generation tool and newly branded framework. This will generate a series of Code Project articles and will get my WPF LOB series back on track. Very cool stuff here too.
I'm heading to work in a few.
BTW: We have some openings on my team. Interested?
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Karl Shifflett wrote: BTW: We have some openings on my team. Interested?
Definitely.
Actually, I was going to post you privately about a project I was looking to kick off with WPF, and I was looking for input from people like yourself about features you'd like to see in it. Anyhoo - I was thinking of starting off a project to handle UI testing of WPF apps, and I was wondering what features people would want in it. The obvious ones include things like clicking menus/toolbars, inputting/reading from textboxes and so on. I'd love your input on this.
|
|
|
|
|
|
Looks interesting. And you guys eat lunch together - sounds like it's a close knit team. One small prob on my part - I live in the UK. Would this work for the team, i.e. would they support me relocating to the US?
|
|
|
|
|
Cider's not done yet?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Working hard!!!
modified 27-Feb-21 21:01pm.
|
|
|
|
|
i want to type only numeric data for wpf textbox control.please help
|
|
|
|
|
You've been told how to handle the PreviewKeyDown event. That's one way of accomplishing this, so please write the rest of your code yourself - it's a simple case of testing the key press.
|
|
|
|
|
I am using the WebBrowserControl to access a particular site in my WPF application and on click of button i want apply ink canvas on that Web Browser so as to highlight some of the areas.
Could anyone help me in applying ink canvas on the WebBrowserControl in WPF?
|
|
|
|
|
|
Google ... or is that goggle?
|
|
|
|
|
Why does Vector3D have only 3 coordinate properties X,Y,Z? Does every Vector3D start in point (0,0,0)?
|
|
|
|
|
If you are living in 3D then yes every vector should have 3 coordinates. This is true also for 2D and 2D only have 2D vector. This implies to all dimensions. If you studding theory of relativity then you need 4D vectors where time is also one of the components. Let’s make life simple, and only worry from 1D to 3D which we are dealing with WPF.
LOL
|
|
|
|
|
The short answer is if you want to say so. (Normally, I would not say that vectors "start" anywhere per se.)
The long answer is that you are brushing up against one of the hardest things about programming, "Data doesn't mean anything until you say it does." Take for example, the Point and Size classes. Both have 2 integer (or double or float or whatever) components. Both could be used to store the exact same data, but the different structures exist because that is how we assign meaning to the data. So, the implicit assumption made by the designers of Vector3D is either that all vectors "start" at (0,0,0) or that the vector is the more abstract concept of an amount of travel in a direction.
|
|
|
|
|
|
i want to write code for wpf textbox control keypress event.i want to enter data this textbox numbers only.this code correct for winforms
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsLetter(e.KeyChar) == true)
{
e.Handled = true;
}
}
how to write this code for wpf textbox control....
|
|
|
|
|
You've already posted this question once. Please don't repost just to bump your question to the top - it's inconsiderate of others.
|
|
|
|
|
how to create keypress event for textbox control(wpf application)
please help.
thank you.
|
|
|
|