Visual Studio Designer shows empty window with custom ContentPropertyAttribute
My application has a lot of windows and most of them share some basic features. Because of that I extended theWindow class to create a base for all my windows.Everything compiles and displays fine but...
View ArticleAnimation with WPF 3d and Storyboard
Hello all!I'm kinda new with WPF 3D, but I need to make an animation. I really need to bend some tubes before the machine makes the real service. I'm able to draw 3D cylinders with a good shape and...
View ArticleThe most efficient way to draw in wpf
Hello. I have a custom control that draws grid. The grid must be redrawn each time when mouse is moving/zooming. Similar to grid of 3D max or editors like that. And it can have a lot of squares. For...
View ArticlePopup Control
HelloI use a Popup control in my WPF application for displaying data on top of other controls. My problem is that when I click on another application in the windows task bar, my mainWindow disappears...
View ArticleCan I use open source WPF controls to develop my commercial Excel add-in...
We have developed an Excel add-in platform which uses below packages: - Main.Controls.Wpf.Notification.2.8.1.0 - GMap.NET.WindowsForms.1.7.1 - Extended.Wpf.Toolkit.2.5 - EPPlus.4.0.4We have downloaded...
View ArticleHaving some troubles getting scrollbars to work in a grid with a datagrid.
We're working with a datagrid that's in the second row of a grid control. We're returning several records (a little over 2000) and naturally we want to have scrollbars for the datagrid. At my previous...
View ArticleWPF grouping
Hi,I'm having a problem with the visual implementation of a list containing groups (well technically speaking it is the list's default view which contains the grouping definition).So assume, for...
View ArticleHost a win32 application inside WPF window
I have a video application source as Win32 application. I want to enhance the UI using WPF. I need only the video frame from the application.. I followed...
View ArticleRender an Office document in a WPF application
Dear all,What is the proper way to render and office document like word, excel into a wpf application and be able to consult those document in a friendly way using touch.Does the best way is to convert...
View ArticleHow to let ViewModel trigger View update
Hi, I need real time charting (100-200ms updates) of a maximum of 20 series. After some research I settled on syncfusion because I can use the community license and at first sight it seems performant....
View ArticlePerformance issue for VirtualizingStackPanel in .NET 4.6.1
After upgrading to .NET 4.6.1, a datagrid using VirtualizingStackPanel started experiencing performance issues.It seems the stack panel kept looping through all elements of the grid's data source in...
View ArticleEditing item in TreeView by ContextMenu or HotKey
I would like to enable editing an item in TreeView just in two cases:when a user clicks at Edit button in ContextMenu of TreeViewwhen a user click F2 at the selected item of TreeView. My xaml of...
View ArticleHow can I debug or catch intermittent unhandled exception “Must disconnect...
I'm getting an intermittent UnhandledException Must disconnect specified child from current parent Visual before attaching to new parent Visual but the stacktrace references only System.* and MS.*...
View ArticleHow to display the text from two properies in a ComboBox (DisplayMemberPath)
I have a ComboBox and I use to use the DisplayMemberPath to set the text that I want to show, in this way:However, in one ComboBox I would like to diplay the text from two properties, so I would like...
View ArticleDrag WindowChrome when IsHitTestVisibleInChrome true
Hello I use WindowChrome to customize the Windows title bar in my WPF application. In the Grid that I put in WindowChrome; I insert many controls such as TextBox and buttons. As the actions on these...
View ArticleBack and Forward in WPF
Hello I have a WPF application, and I would like to insert a Back and Forward feature. For example, I click a button to execute an action. I would go backward when I click the Back button. Is there a...
View ArticleBinding template column in listview
Hi,i am trying to bind many template columns in listview :<ListView x:Name="grdAppts" HorizontalAlignment="Left" Height="200" VerticalAlignment="Center" Width="350" Grid.RowSpan="2" Grid.Row="1"...
View ArticleTextBox.AcceptsReturn conflict with InputMethod.IsInputMethodEnabledProperty...
Hi,My wpf application run on win 7 embedded, the computer has a touch screen.in order to disable on-screen keyboard icon from my application, I set InputMethod.IsInputMethodEnabledProperty to false...
View ArticleSet focus on PasswordBox Problem
I want to show password box with typing cursor for that we can start direct typing without setting cursor.<PasswordBox Name="passwordTextbox" Grid.Row="1" Grid.Column="1" Margin="5,35,5,5"...
View ArticleHow to get x and y point of each row in data grid
How to get x and y point of each row in data grid because my current drag and drop implementation is the adorner initial point is based on user mouse click on that particular (x and y) data grid row,...
View Article