How can I get my picture scroll horzontally
Dear all,I have the follwoing layout in my application:<Grid x:Name="_mainGrid" Background="#cfd8dc" ><Grid.RowDefinitions><RowDefinition Height="80"/><RowDefinition...
View ArticleOpening new Wpf window from Wpf userControl Hosted in Winform
I have an existing winforms application which we are migrating towards wpf. I have a Winform that loads a Wpf user control, showing a list of items. In that list, there is an edit button that I need to...
View ArticleHow to add stackpanel into grid programmatically
Hello,I am new to XAML and attempted to add panels with a textblock in it on a grid of 2 rows and 5 items. If my code worked properly, I should expect to see Row 0 Column 0, ... , Row 0... Column 4,...
View ArticleWPF on Windows for ARM
On Windows for ARM, users and developers are restricted to Windows Forms. Why?
View ArticleHow get/set TreeViewItem height?
I need TreeViewItem height for extend drag&drop.But TreeViewItem height is NaN. How to set it with xaml?<TreeView Name="treeView" Grid.Column="0"...
View Articlebindingsource ui and entity framework 6
Hello. I started to study the WPF, 1) in the data part, I saw several examples and use objects to store other data to list observablelist to enumerable etc .... It 'a difference by architectural...
View ArticleCreate custum control styles for modern ui
how i can create custum control styles for modern ui firstfloor software ?? to costimaze link color and grouplink color ?? this is my personnel code<UserControl...
View ArticlePublish WPF application with .mdf database as click Once .exe file (Client PC...
Hello,I am developing a WPF application on Visual Studio 2013. I used SQL server management Studio and SQL Server 2012 to use .mdf database in my WPF application.Now I want to publish my application as...
View ArticleDelegateCommand
private DelegateCommand<object> _GuncelleCommand; public ICommand GuncelleCommand { get { if (_GuncelleCommand == null) { _GuncelleCommand = new DelegateCommand<object>(new...
View ArticleUpdate table from entity using EF, HierarchicalDataTemplate and TreeView
I have a hierarchically recursive (self-referencing) table that I am showing using Entity Framework, a HierarchicalDataTemplate and a TreeView. It works but now I want to support modifying the data. I...
View ArticleGet the Value of WPF Listview rows and compare them with database field using...
i want to compare ECH_INTITULE in my database with the values of the listview rows but my problem is that i can't access the Listview items in my Linq query here is my Xaml code for my Listview...
View ArticleHow to make extended TreeView Drag&Drop?
I based on article www.codeproject.com Drag-and-Drop-Feature-in-WPF-TreeView-Controlbut I want add extensions:first, two modes of dropping: If user drops at center node - it normally move dragging node...
View ArticleWriteableBitmap memleak problem
Hello.I have a writeableBitmap and it has a memleak - memleakI have found a workaround which is to call bitmap.Freeze() if we don't need this bitmap anymore and it works fine except one small problem....
View ArticleWPF MVVM simple form with a drop down
I am looking for an example of a wpf xaml form using MVVM. I have one class of employees name, age. and another class with a list of states.I need one form with a combo box drop down for states and...
View ArticlePerforming calculations after passing through IDataErrorInfo using binding
I am fairly new to C# and I'm teaching myself WPF in the process. I can't seem to find a solution for my problem after hours of searching. I have a demo app I'm writing that accepts input values on 3...
View ArticleHow to dynamically create grid structure
This question is a continuation of the previous question asked on this...
View ArticleCreate dynamic grid structure using independency injection
This question is an extension of my previous question:https://social.msdn.microsoft.com/Forums/vstudio/en-US/1d66106b-e24e-4014-a9ba-aae1d5d33ac1/how-to-dynamically-create-grid-structure?forum=wpfThe...
View ArticleOther event is not working inside ScrollViewer with Touch Screen
I want to implement touch scrolling in the list view when we test application without touch screen then its working fine but when we test on touch screen then List view Selection changed is not working...
View ArticleHow to find index number of list view on touch down of scrollviewer in WPF
I have control template. look my Code :<ControlTemplate x:Key="ListBoxTemplate" TargetType="{x:Type telerik:ListView}"><DockPanel><RepeatButton x:Name="btnScrollLeft"...
View ArticleWPF MVVM accepts input from weight scale
I am working on an application that originally was done using the code behind for the xaml pages. I am converting it to use the MVVM pattern. I have code that will accept the input from a usb scale...
View Article