Advanced Forum Search Results
-
Thanks for that...
I can set the parent to have the extra width and height... and then the parent of the parent can be smaller to restrict the actual size of the over all control.
Thanks,
Mark
-
[quote user="Sergey.Lutay"]
One suggestion: try to put grid inside Border control for look where does Grid control is?
[/quote]
I tried this and the border gets cutoff at the same spot as my objects do.
Sergey,
You can just copy that code below and paste it in xaml and you will see what I'm seeing.
Thanks,
Mark
-
[quote user="Sergey.Lutay"]Do you make a Translation programmatically? Or only define it in XAML code?[/quote]
there is no code behind this, this is just purely xaml.
[quote user="Sergey.Lutay"]Have you tried to call UpdateLayout method of Canvas after transforation?[/quote]
I tried this, nothing ...
-
Hi,
I have a scenario that will require me to have a long list of objects. So long that if you place the list on the screen the objects would go all the way across and then some. I'm using Translation to move the list, so I can see the object that are off the screen. However, when I do this, the objects that would be off screen will ...
-
Actually the animation is in the resources already... I'm simply just play the animation in this function. Yeah, I get the same result with LayoutUpdated event as well. It bombs just like onLoad. The error being thrown during runtime "Cannot resolve TargetName"
For some reason, my function works during the parsing (being ...
-
Hello,
I'm not even sure what to call this issue, so the subject doesn't make any sense. My scenario...
I have a custom control that has dependency properties. During the init of the control, if I try to use the dependency properties that the were set to a particular value. Those values were not ...
-
Ok, I figured out how to get around this error in my case.
If you tried:
theListBox.ItemsSource = null;
and it didn't work... try this one
theListBox.ClearValue(ListBox.ItemsSourceProperty);
and if that didn't work... try this
This is what I had to do to update my listbox
//Create a new dataSource itemstring[] list = new ...
-
Ok, I figured out how to get around this error in my case.
If you tried:
theListBox.ItemsSource = null;
and it didn't work... try this one
theListBox.ClearValue(ListBox.ItemsSourceProperty);
and if that didn't work... try this
This is what I had to do to update my listbox
//Create a new dataSource itemstring[] list = new ...
-
Ok, I figured out how to get around this error.
If you tried:
theListBox.ItemsSource = null;
and it didn't work... try this one
theListBox.ClearValue(ListBox.ItemsSourceProperty);
and if that didn't work... try this
This is what I had to do to update my listbox
//Create a new dataSource itemstring[] list = new string[20];
int ...
-
I guess I don't get what you are saying.
I did the following:
AddListControl.lbList.ItemsSource = null;
When I run the application,
it runs through this line the first time and is fine (I guessing do to that ItemsSource has not been set yet), but when I need to update this list the next time. I got back throught this line ...