how to save multiple xaml element to xps in WPF Application
HiIn my application, I have ten stack panel. Each stack panel has formatted text in it. Main job is to print stack panel content to a4 page. If there ten stack panel then the printed document should...
View ArticleHow to detect is there space available in text box to insert text in WPF...
HiI am new to wpf. I have textbox with height 300. I am programmatically inserting text into the the textbox.Ā I want to check if text box is filled with text, then move rest of texts to new textbox....
View ArticleFlowDocument loses databinding when sent directly to printer
I have a FlowDocument which has data binding. When I preview the FlowDocument or send it to Office Document Image Writer, then the data appears on the document. However, If I send the FlowDocument...
View ArticleRichTextBox, turn off the default wordwrap functionality
Ā Hi,Ā I have a RichTextBox and when I set the HorizontalScrollBarVisibility to ScrollBarVisibility.Visible it always shows, but never works because my text gets word wrapped like the wordwrap function...
View ArticleScrolling vertical Items Control with Virtual Panel and horizontal items...
I wrote a custom virtual fixed height custom panel.Ā Works great!Ā However I have very wide rows with a lot of data.Ā So I'm having to virtualize the rows as well.Ā I'm not sure the best way to forward...
View Article3d animations in wpf
HelloĀ i was wondering if i can made 3d animations in WPF and how it works ?Ā or is there another software that i can use . and pair with Wpf
View Articlehow to open textfile by a wpf applicaiton
i have tried to explain by pictures,notepad_reimagined is my text editor on wpf i want to open txt files with it so what method i can use so it take pre_start input....... i mean txt files as input...
View Articlevb.net GetElementByid from already opened pages in internet explorer
im working on project (vb.net) that read text from website and save it to .sdf database and then print it out so far i can read elements in the first internet explorer page that opened from my project...
View ArticleHow to place autocomplete box near textbox where multiple textbox are...
HiI have five textbox in my application. All the textbox are children of stack panel. It's name is rootStackPanel. For autocomplete box, I have added textblocks to a stackpanel. its name is...
View ArticleI have JSON response and want to get the item and position value dynamically.
Hi I have JSON response and I want to get the Item and Position values. Where is it in the tree structure I want the Item and Position. In C# WPF"address": [Ā Ā {Ā Ā Ā "item": {Ā Ā Ā Ā "country":...
View ArticleSetting theme in WPF Application
Hi, I am trying to make UI of my WPF project better by adding themes. I downloaded the themes using Nuget Manager, and added one of them in the following manner in :<ResourceDictionary>...
View ArticleRibbonGallery selected item stucked
Hi! Inside a RibbonSplitButton I have a RibbonGallery, which has an ItemsSource of an observablecollection. When any item on the dropdown list is clicked, it triggers a window to be displayed. The...
View ArticleWPF Design view totally blank / No objects
Hi, i have this C#/WPF project, and now when i open it, all the wpf objects of the window etc etc are not showing at all in the Design part of the window in the editorBut when i start the program, the...
View ArticleHow to achieve Auto ViewModel Locator for my project
Hi All.I have a basic MVVM implementation in project and i need some help to achieve auto ViewModel Locator or autoviewmodelWireUp similar PRISM and MVVMLIGHT. Please suggest me some alternatives.Thanks
View ArticleHow to Get Height of textboxes added as child to stackpanel in Main Window...
HiI am working in a wpf C# application. There is stack panel named "rootStackPanel". In the MainWindow.xaml.cs file, inside MainWindow function, i have added ten textboxes as children to...
View ArticlePrintTicket not reflecting Printing Preferences
In Windows 7, if I open the Printer Properties via Devices and Printers, I can set both the Printing Preferences (General tab) and the Printing Defaults (Advanced tab). When I create a WPF PrintDialog...
View Articlehow can I swap 2 buttons which are in the same grid
hi, I am new to c# wpf, I have a grid which contains some buttons, now I want to make a swap button position function, like drag any 1 button and drop it to another button's position, then the other 1...
View ArticleBest architecture to design a WPF application which has many windows to plot...
I want to design a WPF application, where it can open many windows and each individual window will be plotting a graph of billion points(dynamic). AsĀ i am focused more on performance aspect, could you...
View ArticleForeground not reflected in Customized "Menu" control
We have customized the WPF "Menu" control by modifying the Microsoft provided ControlTemplate.When the user changes Foreground property of Menu, if MenuItem is enabled and is empty (i.e. do not contain...
View ArticleForeground not inherited in Customized "Menu" control
We have modified the msdn provided ControlTemplate for "Menu" control.When the user changes Foreground property of Menu, the foreground is not inherited by the Sub-menu items.Madhusudhan SM
View Article