Quantcast
Channel: Editors for WPF - Recent Posts
Browsing all 942 articles
Browse latest View live

Re: Int64EditBox: '1000000' is not a valid value for property 'StepValue'

This doesn't explain why the C# code compiles but also fails at runtime. (Or does it?)

View Article


Re: Int64EditBox: '1000000' is not a valid value for property 'StepValue'

Either way, the problem is with Microsoft's .NET or VS code converting the number to an Int64 in its XAML deserializer.  If you specify the exact type per above, it will work around the problem.  This...

View Article


Re: Int64EditBox: '1000000' is not a valid value for property 'StepValue'

I would say the "problem" of the VS designer is your mismatch of the DependencyProperty (Int64) and your CLR property (Int32): class Int64EditBoxBase { public int StepValue { get { return (int)...

View Article

Re: Int64EditBox: '1000000' is not a valid value for property 'StepValue'

Hi Markus,Sorry, I missed seeing that it was accidentally set as an int return on the public property.  That is indeed the issue and changing it to Int64 to match the dependency property declaration...

View Article

Problem with MaskedTextBox with such mask ([\-\+])?0x([A-Fa-f0-9]*)

I have a MaskedTextBox with such mask ([\-\+])?0x([A-Fa-f0-9]*).It is a mask for relative offset i.e. +0x16 mean currentOffset+=0x16 and i want it to support normal offsets i.e 0x42I want to disable...

View Article


Re: Problem with MaskedTextBox with such mask ([\-\+])?0x([A-Fa-f0-9]*)

Hello, I believe it's due to the regex parser.  If you put a whitespace before and after the "0x" portion of your mask, the regex parser will pull out the parts correctly.

View Article

Re: DoubleEditBox C, F, and N formats

We are having the same issue with the StepModelEditbox, where you can't type a decimal without the leading zero. This is on an older build 0552.  Have you fixed it in the most recent version?

View Article

Re: DoubleEditBox C, F, and N formats

Hello Angela,Sorry but I'm not sure what StepModelEditBox is.  Is that a custom control that your company made based on our framework?  If you have a question about something like that in a custom...

View Article


Re: DoubleEditBox C, F, and N formats

Sorry about that, that's our wrapper around the RangeTypeSpecificEditBoxBase<decimal?>.

View Article


Re: DoubleEditBox C, F, and N formats

Hi Angela,I tried it in our DoubleEditBox and you can type a decimal (without leading zero) and number and it will accept it.

View Article

MaskedTextBox make constant mask symbols not selectable

For eample we have a phone mask i.e (___) __-___ provided by regexp.Is it possible to make (,),- symbols not selectable?Is there any events for implementing custom behaviour during selection? I didnt...

View Article

Re: MaskedTextBox make constant mask symbols not selectable

Hi Ruslan,While the caret will generally jump around literal strings in the mask like the ')' and '-' characters as you type and use left/right arrow keys, there isn't anything to prevent selection.

View Article

Custom PartEditBox Binding Value during user input

I have a custom PartEditBox control made by example of SSN editbox.It has only 2 parts:1. Dirrection: +/- (forward/bacward)2. Length: long.MinValue < any number   < long.MaxValueSo the problem is...

View Article


Re: Custom PartEditBox Binding Value during user input

Hello,The edit box's PartValueCommitTriggers property defaults to PartValueCommitTriggers.SpinnerChangeOrEnterKeyDown.  Have you tried setting it to PartValueCommitTriggers.All?

View Article

gauge and enus

i try to use the gauge knob, how i replace the number with enum?

View Article


Re: gauge and enus

Hello,Can you please provide more detail on your question and exactly which sample of ours is closest to what you are trying to achieve?  Thanks!

View Article

Re: gauge and enus

i dont have the code on this pc, i use CircularGauge,i want to see the text instead of numbers.now i see number from 1 to 5, the numbers represent enum.option of something permanent is not good,...

View Article


Re: gauge and enus

There isn't anything built in to use enum names instead of numbers.  But you could use the Custom Tick Labels feature to implement this sort of thing manually.

View Article

Re: gauge and enus

I, alredey did this. It have the problem with the lenght of the text.... Also my enum is denamic so its make many problems. 10x any way 

View Article

DataGridDoubleColumn changes entered double value on german operation system

Hi,I have a strange behavior of DataGridDoubleColumn. I define a DataGridDoubleColumn in my datagrid this way:<datagrideditors:DataGridDoubleColumn DisplayIndex="2" IsReadOnly="False"...

View Article
Browsing all 942 articles
Browse latest View live