Advanced Forum Search Results
-
Hi,
Can anyone explain me how to forse control to don't resize larger than it content size (custom control inherited from ContentControl)?
Regards
-
I tryed to write simple templatable control as I did in beta 1 but it seems that same solution doesn't work anymore! Code does compile but MyCtrl doesn't appears!
generic.xaml:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/client/2007"
...
-
So if I understand you correctly this issue appears only in 2003 server?
-
And here is a complete xaml just in case:
<UserControl x:Class="endTest.Page"xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" ...
-
Sorry for previous post - it's not complete!
Step 2: add two event handlers to the Txt in Page.Loaded event handler
Txt.KeyDown += new KeyDownEventHandler(Page_KeyDown);
Txt.TextChanged += new RoutedEventHandler(Page_TextChanged);
Step 3: while textbox doesn't contain any text press END key and try to type something after that - ...
-
I using Windows 2003 server, IE 7 (build 5730) with SL 2.0 beta.
To reproduce this bug I wrote simple xaml with one textbox in grid:
<Grid x:Name="LayoutRoot"><TextBox ></Grid>
-
Hi,
I found a problem in TextBox control. If there is no text in TextBox and you type END (key) then your TextChanged event handler become inactive and you can't bring it to life again! And after you had lost your TextChanged handler every char you type apears in textbox with time delay (near a second).
Can anyone explane me this, or ...
-
David,
Thanks a lot for your reply! Of course I understand that solution with custom control based on ListBox (or even on ListBoxItem) maybe there only way to deal with my problem. But I had hope that someone already made something similar. So I shouldn't dig myself into this custom stuf... :(
-
Hi,
Anyone knows how to get a reference to ListBoxItem's child controls list?
What I need is to change visibility property of one of its childrens when selection changed. I made a DataTemplate that contains bunch of controls but after all I realize that there is no way to get to them!