Advanced Forum Search Results
-
After some meddling with the code, it looks like, as of RC0, that the scope of GroupName for custom controls appears to be limited to the control itself.
I added a couple more radio buttons to the template for my control, and within each control, the radio buttons acted as a group, but as before, the radio buttons in the other ...
-
I have a RadioButton inside a custom control, which can then be added to a StackPanel in another custom control. Everything worked just fine in Beta2; however, in RC0, even though I have GroupName set, all of the radio buttons stay selected, as if it's ignoring the grouping.
I'm still working my way through this one, but I ...
-
Thanks. Good to know I'm not going crazy. :)
-
I know this is bad forum etiquette, but I need an answer to this one, and I'm guessing I won't get it with the post buried on page 3.
-
I have a class, ElementContainer, which has a collection of Element controls (derived from ContainerControl). I can place Elements in the ElementContainer, and content in the Element controls in XAML as expected, and everything works fine. However, if I give any of the contained controls an x:Name, the ...
-
In 1.1 alpha, relative Image source paths were relative to the web root. However in 2.0 beta, it looks like, they're relative to ClientBin. Try moving your images to ClientBin and see if that works.
-
If I include a GridSplitter in my Grid layout, and set ShowPreview="True", dragging the splitter causes the browser to crash. Using ShowPreview="False" in the mean time, but I have some controls that are processor-intensive on resize, and slow the responsiveness down, so it would be nice to be able to use the splitter's ...
-
Thanks Dave.
I don't think using a grid will solve my problem, though. Using a grid would obviously *size* the scrollbar correctly, but I need to do more than just size it, since changing the size of my control affects the Maximum and ViewportSize properties of the scrollbar.
I will take a look to see if the ScrollViewer will work.
-
I still haven't got this one figured out, but I've narrowed down the issues. Unfortunately, I've also identified more problems associated with this issue. Not only does the scrollbar not appear, but If I add it to a grid, any Layout-sized class that follows the custom control, at a minimum, does not resize, and often, as with ...
-
I have a Control that contains a ScrollBar. My Control has a Resize(double width, double height) function. If I call Resize in Control_Loaded, and don't override ArrangeOverride, everything draws fine. However, I want to take advantage of 2.0's Layout functionality, but if I override ArrangeOverride, and call the Resize function, the ...