This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am evaluating WPF Elements, and am puzzled by two behaviors. 1. When I place the NumericTextBox control onto my main window, the border is only large enough for the 0.00. I set the MinWidth property, but that has no effect. How do I get the border width to be what I want it to be? 2. When entering data, how do I get the thousands separator to show? There are probably some simple things that I am overlooking, but I just don't know what they are, and yes, I am learning WPF. |
|
|
Hello Tom, 1. MinWidth isn't usually a useful property for boxes like this, because it results in the box resizing as the user types or deletes, which makes for a rather distracting UI. Set the Width property, or better still use a layout, such as a Grid with appropriate column sizing: the NumericTextBox will size itself to the layout (in this example the grid cell). 2. We had a bug in WPF Elements RTM where the thousands separator would get lost if the user cleared the text box before editing it. This is fixed in current nightly builds. You can get the latest nightly from http://www.mindscape.co.nz/products/wpfelements/nightlybuilds.aspx (this also includes a few other bug fixes and a number of new controls). |
|