I've got a strange thing goin on here. I'm designing a small program with Visual Studio 2010 using WPF and VB.Net but for some reason, all my buttons and checkboxes (didn't test more items) aren't clickable anymore! Even if I drag a pretty new one out of the VS-Toolbox!
They've got all "IsFocousable" and "IsHitTestVisible" and "IsEnabled"-Setting set to "True". Does someone has an idea to fix that!?
Greetz!
Husky110
it was my fault...
Turns out that one of the parent controls of my button had IsHitTestVisible as false
Related
This is a bug I was avoiding to check , but it comes the time do fix it but can't find the reason.
It's simple, having a combobox inside a form, thats inside a windows, when opening the combobox and them dragging the window, the combox got desformatted.
Is this a bug, anyone with this kind of stuff and know how to solve it?
Using extjs 6.0.1
Fiddle link:
https://fiddle.sencha.com/#view/editor&fiddle/3mek
This is before running the program:
This is after running the program, This is what I want to see in the designer:
The problem is that in the designer I don't see all the controls buttons.
Not the same when it's running. If I want to add a new button or any control I can't see in the designer where to add it.
Seems like you have an expander. Set IsExpanded to true and you will see the content, don't forget to turn it to your desired value before running :)
I've created a textbox style to contain a validation.errortemplate for use in a UserControl class. If the UserControl is loaded in the normal, non-MAF way, I can see the validation rule kicking in and getting visual feedback (thick red border, a circular bang to the right of the textbox, and an error message-in-a-tooltip) -- everything works the way I expect it to.
However... if I load that same UserControl in as an AddIn, I lose the visuals. (I do see the error tooltip behaving correctly, so I know my validation rule is firing; I just don't see the border and bang symbol.
My AddIn, by the way, is based on MSDN's example for an 'addin-which-provides-a-usercontrol.'
I know a few of the limitations of an AddIn (e.g., video won't play in an AddIn UserControl); is this another limitation, or am I screwing up?
Thanks in advance!
[Update -- I removed the error template from my UserControl.Resources -- as I suspected, in the non-MAF version, this causes the validation failure to result in the 'standard,' thin red border around the textbox. However, no such red border shows up in the MAF version. Ergo, the TextBox.Style seems to have been ruled out as the culprit.]
Got it working by enclosing the fields I want to validate within an AdornerDecorator tag... go figure :-)
I'm writing a windows forms application with an ultragrid.
For layout reasons I'm using the dock property. When I put this property on none (from the ultragrid) the scrollbars are displayed.
When I put this property on fill the scrollbars are gone.
Does anyone know how I can fix this?
I've found an answer on the infragistics forum.
The problem was that other controls on the form where displayed in some way over the ultragrid (allthough it didn't look like it).
The solution is to rightclick on the ultragrid in the form and then select 'bring to front' . The next time i ran the application the scrollbars where there.
Is there a way to remove the annoying grid lines in the design view of Visual Studio 2010? Or at least style them to fade them off?
I'm not referring to the Grid component, but to the design view in WPF which draws visual lines over and around every components, making screens look like a soup in design view.
In Blend, if you disable Show Handles (in View > Show Handles, or F9), you can turn off those stupid blue lines.
Pretty sure you can derive from Grid and build design-time meta-data assembly with it as described on this msdn blog:
http://blogs.msdn.com/b/wpfsldesigner/archive/2010/01/13/wpf-silverlight-design-time-code-sharing-part-i.aspx#required
The reason I suggest deriving from Grid is because you want the designer to load new meta data for the type. Hopefully this implementation will override default behaviour although I have not tried myself.
Can I ask why you want to make this change? I am interested.
You say not the Grid component but those blue lines are part of the Grid control and you can simple drag them off the screen to remove them. I do not see any other light blue lines in that first link. If the problem is when you are running the app then uncheck the 'show gridlines' property for the Grid in VS2010.