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

Re: MaskedTextBox "Unformatted" text property?

Hi Brad,Yes that is correct.  I'm not sure you can really store things separately though.  Consider a scenario where you have a mask of "\d.\d".  So basically a digit then dot then digit.  If the user...

View Article


Re: MaskedTextBox "Unformatted" text property?

I think we just have a different view/opinion of what a Masked field is.  For us, the mask is only to aid in the visual representation or data capture and is not the value.  For example, a Social...

View Article


Unable to set a StyleSelector for MonthCalendar Items in DateTimeEditBox

I've been working with the MonthCalendar control with reasonable success even though it lacks good MVVM support. But I went to use the DateTimeEditBox and it seems the same stuff I've been using for...

View Article

Re: How to provide custom color name for ColorEditBox

Thank you for your answer. I have additional questions:1. I might try to modify ColorPart template. However:  1a. Do ColorPart templates vary from theme to theme?  1b. Could you provide the standard...

View Article

Re: MaskedTextBox "Unformatted" text property?

Hi Brad,I did some experimentation with our code to see if we could reconstruct the typed in data.  Let's take a phone number scenario as an example.  The dash auto inserts after you type three...

View Article


Re: MaskedTextBox "Unformatted" text property?

I suspect part of the challenge is due to the RegEx engine you use and the power of it.  Some of the other vendor mask controls have the mask defined using special characters.  For example, a "#" might...

View Article

Re: Unable to set a StyleSelector for MonthCalendar Items in DateTimeEditBox

Hi Josh,It sounds like the DataContext isn't passing down to the popup perhaps.  Could you do a binding similar to the one for SelectedDate where you look for the DateTimeEditBox ancestor and then look...

View Article

Re: Unable to set a StyleSelector for MonthCalendar Items in DateTimeEditBox

You sir are a genius. For others having this sort of issue. I added this property to my MonthCalendar:DataContext="{Binding DataContext, RelativeSource={RelativeSource AncestorType={x:Type...

View Article


Re: How to provide custom color name for ColorEditBox

Hi Dariusz,1a) No I think the template is the same for all themes.  We just alter the assets (brushes, etc.) that are referenced by the template.1b) I believe you have WPF Studio, so you can download...

View Article


Re: Translate "No value" inside a DoubleEditBox

Hello,I tried to use this but it has no effect in my project... ?ActiproSoftware.Products.Editors.SR.SetCustomString(ActiproSoftware.Products.Editors.SRName.UIDoubleEditBoxHint.ToString(),...

View Article

Re: MaskedTextBox "Unformatted" text property?

That makes sense.  I think the other vendor controls aren't as advanced because with our regex engine we can support multiple paths and have various characters auto fill in based on that, etc.  But on...

View Article

Re: Translate "No value" inside a DoubleEditBox

Hi, I tried that line and it worked fine for me.  Make sure you set it before any UI is loaded, such as one of the first things in your Application.OnStartup method.

View Article

Re: Translate "No value" inside a DoubleEditBox

Thank you for the answer.I put the line before "InitializeComponent();" and now it works.Stéphane

View Article


PopupButton: WindowsFormsHost in PopupContent doesn't work

Simple example of problem: <Window...

View Article

Re: PopupButton: WindowsFormsHost in PopupContent doesn't work

Hi Marcin,The problem there is the WPF/WinForms airspace issue.  The Popup we use to show the popup content has AllowsTransparency set to true so that we can do drop shadows.  But unfortunately in WPF...

View Article


PopupButton: Control in PopupContent and mouse events

PopupButton: Controls in PopupContent don't get mouse events. Is there method to change it? Best regards - Marcin Szotka, InstalSoft

View Article

Re: PopupButton: Control in PopupContent and mouse events

Hi Marcin,Sorry but I don't see that at all.  If I use this snippet I can open the popup with a WPF button on it and I see mouse over effects and clicks just fine:<shared:PopupButton...

View Article


Re: PopupButton: Control in PopupContent and mouse events

It is my fault becouse I did not attach example.Problem I have is connected with WindowsFormsHost. I temporary fixed problem...

View Article

Re: PopupButton: Control in PopupContent and mouse events

Hi Marcin,I looked in our PopupButton code and we basically just create a standard Popup and put the content in it.  We don't capture the mouse or anything.  So any mouse capture behavior might be...

View Article

Re: PopupButton: Control in PopupContent and mouse events

So I wait for next release, actually I patched it in my temporary, derived PopupButton.Thank you for help and fast replay!

View Article
Browsing all 945 articles
Browse latest View live


Latest Images