Associer deux Vue à Un ViewModel mvvm wpf
Personne peux me répondre s'il vous plait, si je peux associer deux vue à un meme vuemodel ?? Je me suis planté dans la déclaration de DataTemplate pour cette associationMerci d'avance
View ArticleModel validation with data annotations
I am looking for a working example of the above, so far I have the following, (the model class is obviously separate), not sure how best to proceed public class ApplicantMetadata{[Required]public int...
View Articleget treenode level
hello guys, i'm trying get up the node level in my treeview, but don't work. I'm try explain in one image. I don't want use the function "node.fullPath()" because this not suit me.
View ArticleXBAP on Reverse Proxy
We have an full trust XBAP that is code signed. It works fine with a normal SSL web site with SSL. But when it runs behind a reverse proxy, it fails to download. It just says: (400) Bad Request. Do...
View ArticleLoading wpf windows forms in advance on Application startup
HiI have a number of XAML Windows which user can navigate to when main window is loaded in the above Menu control. If user clicks 'WindowB' in the MenuItem, then I create a new WindowB and assign it...
View ArticleWPF+MVVM: how to reset first column of GridView to descending sorting order...
Our application includes report list which using WPF ListView. The Report list includes Date, Name and Status columns.The report list includes two features: Sorting on column headers and query on...
View ArticleMemory Leak (WPF and Winforms)
I cant clear out if this is a winform issue or WPF. Heres my issue. I have a windows form window which contains an element host where I call a WPF UserControl Class. In the winform window I have a...
View ArticleUsing MVVM and WPF in a network disconnected mode
After banging my head against the wall trying to use SQL CE to develop this application, it occurred to me there is more than one way to skin a cat. I am developing a WPF application that will run on...
View ArticleStoring data
HI,I want to know best way of storing data in wpf desktop app.I am creating on small desktop project...which suppose to store data(only text) entered by user.What is the best way to store and retrieve...
View ArticleHow do I convert a combobox text to Visibility of another element?
I currently have on the target element a Visibility="{Binding ElementName=SourceElement, Path=SelectedItem, Converter={StaticResource TextToVisibility}}"The coverter includes public object...
View Articlehow to bind observable collection as item source to Data Grid in WPF
hello all.. i am working on VB.net WPF Application.I have observable collection(Of KeyValue Pair). I want to add it to data grid item source. to display value and key as column in data grid. Can...
View ArticleHow to Expand WPF Ribbon Group
Hi,I have two questions regarding WPF Ribbbon 1) I'm working on a wpf application where i have many buttons in a Ribbon Group so I want to Hide few rarely used buttons in a drop down like it is in...
View ArticleWhich book have an good introduction about XAML UI design
Recently, want to learn some knowledge about WPF and WP develop, want to learn some knowledge about XAML UI design?
View ArticleFlowDocumentReader Printing Current page instead of all the pages
In a Popup windpw I have used FlowDocumentReader to print the pages and all the contents are comming from database and bind inListView like...
View ArticleDispatcher.Run() throws a Win32Exception
I have a legacy modal dialog that I need to present from a windows WPF/C# application. It generally works well but under the specific circumstance of a published application in...
View ArticleHow to create a custom hierarchical wpf TreeView
Hi,I know there are many examples on the net but I cannot figure out how to achieve what I have to do.My classes are:public abstract class UIProperties : System.Object { public abstract string Caption...
View ArticleWierd scrollviewer margin
Dear all,I have a simple scroll viewer which allows me to slide to different content area with page size of 1920 as width.<ScrollViewer Grid.RowSpan="3" x:Name="_mainHScrollViewer"...
View ArticleFiles download location in Window store app
Dear all,For one of our application we are downloading files from a configuration web service Platform. In order to not mixed donwloaded files with already files on Winrt tablet we are storing them in...
View ArticleChecking and creating of Folder in Store app c#
Dear all,Before downloading files from a web service to my local app I need to be sure that folder location exist for that I have try to verify for folder existance in following way :var appFolder =...
View ArticlePop up is not showing properly
Hi,I want to show pop up , serves as suggestion for the textbox.This is my code,<Grid><Grid.RowDefinitions><RowDefinition /></Grid.RowDefinitions><TextBox x:Name="txtBox"...
View Article