Advanced Forum Search Results
-
You can get the last public version of the menu control from my project Structura, here's the link at the post in my blog:
http://www.nablasoft.com/guardian/index.php/2008/12/16/structura-alpha-version-silverlightwpf-line-business-application-framework/
hope it can help you.
-
Yes, removing the attribute will work, but I need the horizontal scrollbar to be there cause I'm using a code like that in the new version of my Simulating Windows sample to allow the user to resize the window and have the scrollbars to 'navigate' inside the content of the window itself.
I have a structure like:
<External Window ...
-
For a working sample of a menu control in SL2 RTW check my solution in the gallery.
-
If I remind well VerticalOffset and HorizontalOffset are now relative to the Popup parent, so
let's call:
Surface - the container of the button and the parent of the popup
Button - your button control
Popup - your popup window
with something like:
GeneralTransform gt = Button.TransformToVisual(Surface);
Point p = gt.Transform(new ...
-
Using Reflector to check the real implementation of types you can have a clear picture of what they do;
so analyzing the ObservableCollection class exposed by Silverlight (it's in the System.Windows.dll) you can see that it only has the default constructor with no parameters.
Analyzing the ObservableCollection class exposed by .Net Framweork ...
-
I have encountered a very strange behavior: create a scrollviewer, put a container inside (stackpanel, grid, etc.) and some controls inside the container...then open the page in a browser and resize it horizontally...you'll see that only the first control is resized in the correct way, the others ill retain their previous width.
More info, a ...
-
Lets consider this piece of Xaml
<StackPanel MouseEnter="StackPanel_MouseEnter" MouseLeave="StackPanel_MouseLeave">
<Button Content="test buttn" MouseEnter="Button_MouseEnter" MouseLeave="Button_MouseLeave" ...
-
You can also check my blog post on how to build a simple menu and use the code there as a starting point.
Here's the link:
http://www.nablasoft.com/guardian/index.php/2008/09/25/silverlight-how-to-build-a-simple-menu-control/
Best Regards
Alessandro
-
Hi, I posted an example of a simple DataGrid / ItemsControl pager (for SL2B2) yesterday.
you can find it here:
http://www.nablasoft.com/guardian/index.php/2008/09/08/silverlight-a-generic-pagination-control/
Hope it can be a good starting point for you.
Best Regards
Alessandro
-
Hi, I was doing the same tests before finding your post in the past days and faced the same problem, after some investigation it came out that the controls are created in a disabled state by default and that you have to set the 'IsEnabled' property to true in code or in the xaml of the style.
Look here for my example I created an ...