WPF Set Focus On dialog Owner when dialog get closed

28 בJuly 2014

This situation might be a complex one ,  and can be leveraged itself within a few conditional .levels , in a custom PopUp which will be a probably kind of Window , in pyramid of complex UI, like in N tiers UI levels , WPF Distributed Application – like Prism . using 3-party controls ?And what do I mean Showing Dialog from UI , probably need to close when user click on any dialog's button than the .UI who raised it , get the focus back ,In the samples at the Post starting , we may get some problems :To be specific .I have an Custom-PopUp which is simple Window ,In...
תגובה אחת

Attached Properties and attached Behaviors

23 בJuly 2014

Lets face it, WPF still contained some bugs , but in the other side a few power tolls to solve .them :As example, observe the following code <ListView HorizontalContentAlignment="Center" x:Name="StonesListView" Margin="10,10" Height="250" ItemsSource="{Binding Data}"> <ListView.View> <GridView> ...

Load item Form flat collection with Double Click

13 בJuly 2014

,Using List View or DataGrid in WPF may be fun or suffered , depends on the use case .Now I gonna to introduce simple demand and possible way to figure it out :Have a look on this UI code <ListView HorizontalContentAlignment="Center" x:Name="StonesListView" Margin="10,10" Height="250" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="3" MouseDoubleClick="OnDoubleClick" SelectedItem="{Binding SelectedSubject}" SelectedIndex="{Binding SelectedSubjectIndex}" ...

Nullable Boolean Parameter in UI.

6 בJuly 2014

assume you dealing with IDE for some database engine, well your filtering :requirements is about "give me all above 100 dollars" "give all under 100 dollars" and ."give me all no matter the price" Now representation of this functionality in UI is one Problem, we have 3 state .checkbox, or maybe with 3 radio buttons or better will be custom 3 states control But using on of those simple Boolean controls could made a serious head problem since it cannot be bound to Nullable Boolean and hold a three boolean fields and ,sync them it is quite a mess And what do I mean ?...
אין תגובות