Advanced Forum Search Results
-
I created Checkbox column using CellTemplate in DataGrid using template below. CellEditingTemplate is not defined.
Checkbox checked state can be changed by clicking. How to make checkbox column read-only ?
Andrus. templateCol.CellTemplate = XamlReader.Load(string.Format(@"
<DataTemplate ...
-
I'm using AutoCompletebox with styled popup below, FilterMode is StartsWith.
Popup rembembers sometimes its previous width during search if ItemsSource is not changed. If new search string is entered, popup width is too small for new list. I tried to use Grid Column width="Auto" but in this case width changes if users scrolls ...
-
I tried code below but assertion fails since col value has changed .
How to fix this code so that BeginInvoke is called with definition time col value in for loop ?
Andrus.
partial class MyUserControl : UserControl
public CreateFields() {
foreach (FormField col in MyFields ) {
if ...
-
I need to open AutoCompleteBox popup of user presses mouse left button down like in regular Windows ComboBox.
I tried code below but ToggleButton_Click is called only if mouse button is released. ToggleButton_MouseLeftButtonDown is not called at all.
How to invoke method if mouse left button in pressed but before it is released ? ...
-
Width="auto" causes column width change if user scrolls items in popup. How to force Auto to calculate column width using all items in popup and disable column width auto-change later ?
Andrus.
-
Your solution does not have this issue. However there are significant differences compared to my posted testcase:
1. No object property
2. No XML serialization
3. No AutoCompleteBox Tex property direct manipulation.
4. No open popup button.
5. No e.Cancel= true assignment in Population event. Without this box show incorrect data if entered ...
-
This thread contains more info:
http://forums.silverlight.net/forums/t/121070.aspx
If this is not sufficient, please let me know, I will create image for you.
Andrus.
-
I have AutoCompleteteBox in DataGrid edit template. This template contains Margin='0'
templateCol.CellEditingTemplate = XamlReader.Load(string.Format(@"<DataTemplate
xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' ...
-
[quote user="sladapter"]Add VerticalAlignment='Center' on the TextBlock to fix the underline issue.[/quote]
I have multi-line textbox. After adding this Textbox shows half of first and half of second line.
How to force TextBox to show first line completely without changing row height or font size ?
Andrus.
-
Updating service reference has similar issue. So I tried to re-add this. It seems that solution does not contain namespace in error.
I uploaded solution to
http://cid-69f11148404c9c0e.skydrive.live.com/self.aspx/.Public/ErrorAddingServiceReference.zip
Steps to reproduce:
1. Right click in Service Reference
2. Select Add Service ...