Advanced Forum Search Results
-
Hello,
I have a UserControl which acts like a MasterPage. So it is set as the RootVisual. The very first child control is a ScrollViewer.
So, if the contents of the Silverlight application get larger than the plugin size it starts to scroll at the top level. Like a normal page starts to scroll in the browser if it is larger than the ...
-
Yes, I created it myself. It just sets the Popup, which I have in my UserControl to IsOpen=true.
I was just wondering, why it is appended to the visual tree, if I only create an instance of the UserControl without doing anything with it.
And when is this instance disposed by GC?
-
Hi,
we have a Silverlight application, which takes the whole available space from the host page.
When I use the browser's zoom functionality, the plugin with all contents zooms accordingly.
However, the application behaves weird: It seems that the mouse still works with the old "normal"-sized application. Therefore the mouseover ...
-
Point 1 seems only be true, if there is a Popup within the XAML or if one is created during Runtime (like in the ChildWindow control).
-
Hi,
I am currently working on a control, which is similar to a System.Windows.Controls.Primitives.ChildWindow. Kind of like an alert box or the little Popup from Outlook, when you got new mails.
Every time we need such a control, we call something like this:
private void btnAdd_Click(object sender, RoutedEventArgs e)
...
-
I have the same problem, but TextWrapping="Wrap" does not solve it...
-
Yeah, actually I do exactly this, only with the VisualStateManger, but it ends up beeing a Storyboard in my XAML.
The problem is, that I would need the ActualWidth and ActualHeight properties to calculate the CenterX/Y of the ScaleTransform in order to scale it from its center, rather than from the top-left corner.
But I don't have ...
-
Hi,
I am looking for an event, that triggers, when the Visibility of an UIElement has changed. There is a similar one (IsEnabledChanged), but unfortunately not for Visibility or any other property.
Is there a workaround maybe?
-
Ok, it seems that I just forgot the ScrollViewer element. I only had ScrollViewer.VerticalScrollbarVisibility="Auto" set to one of the child elements, but with no effect. Only left issue is, that there's an ugly white Border round the ScrollViewer (BorderThickness or Margin = 0 does not help here)
-
Hi,
I have a Silverlight Application, that takes the whole size of my Browser window. (so the Plugin is 100% width and 100% height).
However in some cases the content is getting larger than my Browser window (e.g. too much text) and is clipped by the elements surrounding this text.
Or another case is, when I just resize the window, ...