What does mean by "There should be no strong or weak (via Interface)...
There is a MVVM rule like "There should be no strong or weak (via Interface) reference of View in ViewModel".Currently I am converting one wpf application to MVVM and for that i am refering to rules as...
View ArticleCannot implicitly convert type 'System.Drawing.Image' to...
Dea All,How i can convert Drawing.Image to Control.Image ??? I am getting this errorCannot implicitly convert type 'System.Drawing.Image' to 'System.Windows.Controls.Image'ThanksJazaib Hussain
View Articlewpf ScrollContentPresenter height issue
Hi I have datagrid with control template like below <ControlTemplate x:Key="DataGridControlTemplate" TargetType="{x:Type DataGrid}">...........<ScrollContentPresenter Width="Auto"...
View ArticleBind ComboBox SelectedItem to a property of View Model
Hi I am trying to bind my ComboBox selected Item to a property in my view model where a setter will take this value and perform some other logic. Now my ComboBox is working correctly pulling items off...
View ArticleBorderless Transparent Windows Not Rendering in Web Conference sessions.
Problem: WindowStyle = None, AllowTransparency = True, Background = null. Contents of windows rendered in this fasion are not being displayed in web conferencing applications like WebX or Arkadin....
View ArticleGridSplitter Right Mouse Events
Hello guys, I'm trying to do in the gridsplitter with the right mouse what the left mouse event does by default. So, what i'm trying to do with is the right mouse to move the gridsplitter. I've...
View ArticleHow to save data when the CollectionViewSource is used
We're working on a WPF app, that uses entity framework to access the data from a SQL Express database. In the XAML we have specified a resource like...
View ArticleKeeping Focus/SelectedItem after DataGrid ItemsSource change
hello fellowsive been working on this for a few days, but cant seem to come up with a solution i have code on a timer that refreshes the DataGrid every few seconds i tried many refresh options, but in...
View ArticleI want a label to drag into the Cone image,follow my code
<Window x:Class="Alphabetical_Game.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" WindowState="Maximized"...
View ArticleExport WPF fixed document to Excel
Hi Everyone, After I have created a report in a FixedDocument, how do I go about adding Export to Excel functionality for the report once it is previewed in a DocumentViewer?
View Articlewpf datagridtextcolumn visibility converter
i have a datagrid in my xaml. Ineed to hide a column based upon some conditions.I tried using a converter.But the converter code is not hit ever.Any help is appreciated
View ArticleDocumentPaginator, FixedPages and stubburn VisualBrush()
Hello everyone,ok, I've banged my head for the past three days, I need help, it hurts :)Immagine a bunch of XML files: each identifing a JPG and any number of tags described with x, y and a label....
View ArticleHandling Popup with Togglebutton
I have a Toggle button and a popup in Xaml. popup's IsOpen bound to toggle button's IsChecked and the Popup's StaysOpen is set to false. So the popup will get open when the toggle button checked and...
View ArticleHow to create hotspots in a panoramic image?
Hi,I have a panoramic image viewer where the user can select an image and pan the image, i want to add some hotspots dynamically and load those hotspots for that particular panoramic image when its...
View ArticleWPF reporting tool
Hello I'm searching for a reporting tool with a WPF ReportViewer control. I tried 'Microsoft SQL Server Reporting Services' but it doesn't suit me for several reasons. First, the ReportViewer control...
View ArticleProgrammatic Binding speed
string myCode="AAA"; Binding bdd = new Binding() { Converter = new CodeToName(), Source = myCode}; myTextBlock.SetBinding(TextBlock.TextProperty, bdd); Say my code is like this and I have a giant...
View ArticleDataGrid & CheckBox & RowDetails Visibility
Hello,We are using a datagrid in the application, in the datagrid is a template column which contains a checkbox.<DataGrid Grid.Row="1" ColumnWidth="SizeToHeader" AreRowDetailsFrozen="True"...
View ArticleFind application Window Dimension
How can i get the actual client Width and height of my application (WPF Page NAvigation app)If i use PrimaryScreenWidth and PrimaryScreenHeight , and if my application is not in fullsize mode , i am...
View ArticlePrism Common Service Applications
Hi,I wanna create a common useable module with prism. I wanna create a file upload module and use it different places in application.
View ArticleHandling ScrollViewer within TabItem with a nested Grid
Hi,I'm trying to do something quite simple. We need to display data in a Grid inside a TabItem... We want to display the various input controls in columns that will be resized when the window is...
View Article