<Grid> <telerik:RadMap x:Name="mapControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Provider="{Binding MapProvider}" Center="{Binding MapLocation}"/> </Grid>
public class MapViewModel : ViewModelBase { const string _apiKey = "{key}"; private readonly IEventAggregator _eventAggregator; private BingGeocodeProvider _geocodeProvider; private MapProviderBase _mapProvider; public MapProviderBase MapProvider { get { return _mapProvider; } set { _mapProvider = value; } } private Location _mapLocation; public Location MapLocation { get { return _mapLocation; } set { _mapLocation = value; this.RaisePropertyChanged(() => this.MapLocation); } } public MapViewModel(IEventAggregator eventAggregator) { _eventAggregator = eventAggregator; _eventAggregator.GetEvent<Infrastructure.RequestPersonalDataEvent>().Subscribe(this.RequestPersonalDataEvent, ThreadOption.BackgroundThread); _mapProvider = new BingMapProvider(MapMode.Aerial, true, _apiKey); } public void RequestPersonalDataEvent(Infrastructure.Models.Person person) { this.Working = true; _geocodeProvider = new BingGeocodeProvider(_apiKey); _geocodeProvider.GeocodeCompleted += this.geocodeProvider_GeocodeCompleted; GeocodeRequest request = new GeocodeRequest(); request.Query = "Postcode"; _geocodeProvider.GeocodeAsync(request); } private void geocodeProvider_GeocodeCompleted(object sender, GeocodeCompletedEventArgs e) { MapLocation = e.Response.Results[0].Locations[0]; Working = false; } }Hi All!
I've created a DataGrid in "regular" WPF that supports groups and the items within a group are shown in a wrappanel. For this I could use the code below:
<DataGrid.ItemsPanel> <ItemsPanelTemplate> <WrapPanel IsItemsHost="True"/> </ItemsPanelTemplate> </DataGrid.ItemsPanel>
The result should look something like this:
Group one:
Item1 Item2 Item3 Item4
Item5 Item6
Group two:
Item7 Item8 Item9 Item10
Group three:
Item11
So my questions:
Is there a way to access the gridview's ItemsPanel to do something similar, or are there any alternativse in the gridview?
- OR -
Is there a more suitable control for this that can handle this many items and the result can look like the same?
Thanks in advance,
Istvan

I have several places in my application where I bind decimals to textbox controls. I have UpdateSourceTrigger=PropertyChanged so that my buttons attached to commands enable when a valid value is entered so the user does not have to click out of the textbox to enable the save button.
Problem 1: Lets say you have the value 24.05 in the text. Now place the cursor between the 4 and the decimal place holder. Backspace 2 times and type in the number 8. Instead of 8.05 you get 80.05. Our users are used to being able to type without looking and expect what they type to be correct.
Problem 2: Type in the value .234. Instead of .234 you get 0.342.
I know I could solve the problem by changing UpdateSourceTrigger=PropertyChanged to UpdateSourceTrigger=LostFocus but this will cause the user to have to tab out of the control or click inside of another control to enable the save button which defeats the purpose of Commanding.
Can I use the MaskedInput Control to fix this? I tried it with the example from your Sample Project under Masked TextBox -> NumericMask labeled: "5 Digits after the decimal point" but that does not handle problem #1. If you don't have a control to handle this, do you know of a workaround for this?