Advanced Forum Search Results
-
ok, thanks all.
I've implemented it whith a behavior attached to each button. In the behavior I subscribe to the button click, and forwards it to a dummy control that acts as a bridge.
-
Hi Helena, thanks for suggesting this, but I get the error "The attachable property 'Click' was not found in type 'Button'. Should I create an attachable property (event?) on my custom control? Will it bubble?
-
Hi! How can I handle all Click events from any child button?
<!-- How do I handle the Button.Click event in the Stackpanel ? -->
<!-- I would like to do something like this -->
<StackPanel Button.Click="_commonBtnClickHandler" >
<Button />
<Button />
<Button ...
-
Hi! No, I did not find a sln. The workaround I ended up with was reapplying the filter whenever I recive an updated row. (My issue was related to a Collection view (not only a pagecollectionview as I wrote in the title),
-
Hi! I've got a childwindow named 'theWindow' with a datacontext set like this:
<controls:ChildWindow.DataContext>
<Filter:FilterViewModel/>
</controls:ChildWindow.DataContext>
Then I got a datagrid with a datatemplate like ...
-
Hi Phanatic, I've need to implement custom sorting ( I need to use a custom comparer that operates on the entire row). I tried your suggestion, but I'm unsure where to apply the sorting.
Should I operate directly on the MyDataEnumerable inside the SortChanged method?
-
Hi!
I've created a PagedCollectionView based on a ObservableCollection. Then I've applied a Filter to the PagedCollectionView.
Question is, how can I force the filter to be applyed to modified items? It seems like the filter is only applied on new items, not on changed. (Yes, I've used INotifyPropertyChanged on the items of the ...
-
Hi! How can I implement custom sorting with the PagedCollectionView?
public partial class MainPage : UserControl{ private ViewModel viewModel; private PagedCollectionView pagedCollectionView; public MainPage() { ...
-
Hi! Thanks for looking into this.
No, the ActualWidth/Height is 0. I don't know the DesiredSize should it be a parameter, anyway, inside the popup there's a listbox, so I've only set a MaxHeight on that listbox. The popup has no fix size.
-
Hi! I tried that, but I'm unable to get the actual size of the popup. The actual size is always set to the size of the DataGridCell.
private void AdjustPopupPosition()
{
// Get position of the editControl (relative to abselute 0,0)
GeneralTransform objGeneralTransform = ...